On Sun 21 September 2003, 22:31:12 +1000, Roelof Otten wrote:
> Another way would be: exporting the message as .msg, editing the
> exported message with a text editor, importing the message in TB's
> message and deleting the original message. This is somewhat
> cumbersome, but it keeps all headers. However the received time and
> date will be the time the message is imported back into TB and not
> the original received time.

However, if you export it in a Unix mailbox format you do keep the
original received date/time.

The following filter exports a highlighted message, opens it in my
favourite editor (ultraedit) and when the editor is closed, reimports
it into the inbox of the original account. The hotkey Ctrl+Alt+Shift+E
triggers the filter.

It requires a batch file (also listed below) to work.

Modify this by putting in the path to your editor in the batch file,
replacing "d:\batch\editmsg.bat" with the path to your batch file
and replacing the word "personal" in the filter line
>"ExtCmd: d:\batch\editmsg.bat personal"
with the name of your account. I have the same filter in multiple
accounts and just change that parameter in each to suit.

,----- [ Revise message filter ]
| BeginFilter
| Name: Revise Message
| Active: 1
| Source: \\Personal\Inbox
| Target: \\Personal\Trash
| CopyFolder: \\\\none
| MainSet: 00
| Actions: 
faExport,faExternal,faoExportOver,faoRunDetached,faoManualOnly,faoWaitCompletion,faoHotKey,faoHKCheckMsg,faoSaveUnix,faoHotKeyOnly
| AddGroups: 
| DelGroups: 
| ForwardTemplate: 
| ConfirmTemplate: 
| ReplyTemplate: 
| FwdAddr: 
| RedirectAddr: 
| NewAddr: 
| NewTemplate: 
| ExtCmd: d:\batch\editmsg.bat personal
| ExtFile: e:\temp\edit.txt
| ExtractDir: 
| ColourGroup: <default>
| AddAddrItems: afiFrom,
| DelAddrItems: afiFrom,
| HotKey: 57413
| IsOfColour: <default>
| SizeBigger: 0
| SizeSmaller: 0
| AgeOlder: 0
| AgeNewer: 0
| InAddrPos: 0
| OutAddrPos: 0
| InAddrGroups: 
| NoAddrGroups: 
| KillFile: 
| KillMethod: 0
| SaveTemplate: 
| SndFile: 
| SysSound: 0
| SoundTime: 0:00-0:00
| AllowTime: 0:00-0:00
| EndFilter
| 

`-----

,----- [ editmsg.bat ]
| "D:\Program Files\UltraEdit\UEDIT32.EXE" e:\temp\edit.txt
| d:\progra~1\thebat~1\thebat.exe /importu=%1;f="Inbox";X;R;IN=e:\temp\edit.txt
`-----

--
Robin Anson
Using The Bat! v2.00.6 on Windows XP 5.1 Build 2600
Service Pack 1




________________________________________________
Current version is 2.00 | "Using TBUDL" information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to