I
ianfore
When you create a rule in Entourage one option is to set an
Applescript that will be run when the rule is activated.
Let's say I have a rule triggered by the arrival of messages that meet
particular criteria. How, in the Applescript that then runs, can I
refer to the message that triggered the rule. I want to be able to
access properties of that message. For example I would want to be able
to do something like
tell application "Microsoft Entourage"
set theSubject to subject of theTriggeringMessage
--- do the stuff I want to here
....
end tell
i.e. how do I refer to theTriggeringMessage?
I searched the obvious places for documentation or examples on this
but didn't find it anything.
Thanks
Ian
Applescript that will be run when the rule is activated.
Let's say I have a rule triggered by the arrival of messages that meet
particular criteria. How, in the Applescript that then runs, can I
refer to the message that triggered the rule. I want to be able to
access properties of that message. For example I would want to be able
to do something like
tell application "Microsoft Entourage"
set theSubject to subject of theTriggeringMessage
--- do the stuff I want to here
....
end tell
i.e. how do I refer to theTriggeringMessage?
I searched the obvious places for documentation or examples on this
but didn't find it anything.
Thanks
Ian