Mon, 22 Nov 2004 20:22:43 +0100 (2:22 PM EST here) WilWilWil wrote:

> Hello,

> I want to create a macro for a folder, but not for an account.

> I want to launch an action when a mail is move in it by NFS. But not
> when NFS move the mail... No. Just when the specific folder has
> received the mail...

> Possible ?

In TB! v2 (and probably in v3 also) there is a class of filters called
"Read messages." The Read messages filters only work on messages that
are marked as read, but you get to choose the source folder for the
read messages.

If the filter that moves the messages into a specific folder also
marks the messages being moved as read, then a Read message filter can
be used to work only on read messages in the specific folder.

For example, the two filters below:

    The first filter is an Inbox filter that moves all incoming email,
    from a chamber musician named Joe, to the Chamber Music Society's
    Incoming email folder. The filter marks as Read, all mail that it
    moves.

    The second filter is a Read message filter that filters all Read
    messages, in the Chamber Music Society's Incoming email folder. If
    it finds "I will bring my bassoon" (without the "") in the text of
    a message, it sets the priority to High (amateur musicians who own
    bassoons are much sought after), and sets the colour group to
    yellow to highlight the message's subject on the Inbox\CmbrMus
    folder's list of messages.

BeginFilter                                     [Inbox filter]
Name: Move Joe's mail to ChmbrMusic folder      <====
Active: 1
Source: [EMAIL PROTECTED]                     <====
Target: [EMAIL PROTECTED]             <====
CopyFolder: \\\\none
MainSet: [EMAIL PROTECTED]
Actions: faMarkRead,faoCopyRead
AddGroups: 
DelGroups: 
ForwardTemplate: 
ConfirmTemplate: 
ReplyTemplate: 
FwdAddr: 
RedirectAddr: 
NewAddr: 
NewTemplate: 
ExtCmd: 
ExtFile: 
ExtractDir: 
ColourGroup: <default>
AddAddrItems: afiFrom,
DelAddrItems: afiFrom,
HotKey: 0
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



BeginFilter                                     [Read message filter]
Name: We'll have a Bassoon tonight
Active: 1
Source: [EMAIL PROTECTED]                        <===
Target: [EMAIL PROTECTED]                        <===
CopyFolder: \\\\none
MainSet: 30I will bring my Bassoon                         <===
Actions: faSetPriority,faoHighPriority,faSetColor          <===
AddGroups: 
DelGroups: 
ForwardTemplate: 
ConfirmTemplate: 
ReplyTemplate: 
FwdAddr: 
RedirectAddr: 
NewAddr: 
NewTemplate: 
ExtCmd: 
ExtFile: 
ExtractDir: 
ColourGroup: Yellow                                        <===
AddAddrItems: afiFrom,
DelAddrItems: afiFrom,
HotKey: 0
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

















Using: The Bat! v2.12.00, BayesIt! 0.5.9,
       MyMacros 1.11, gMacrosPlugin 0.80
       Windows XP v5.1 - Build 2600 - Service Pack 2

-- 

Daniel A. Grunberg       Kensington, Maryland, USA
homepage: www.nyx.net/~dgrunber/



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

Reply via email to