Re: Entourage: Using AppleScript with Rules?
Re: Entourage: Using AppleScript with Rules?
- Subject: Re: Entourage: Using AppleScript with Rules?
- From: Matthew Smith <email@hidden>
- Date: Tue, 22 Jul 2003 21:45:48 +1000
on 22/07/2003 20:50, Jason Bourque at email@hidden wrote:
>
How does the script target the incoming emails when ran from a script?
>
>
>
>
I tried : But it doesn't work.
>
>
>
>
tell application "Microsoft Entourage"
>
>
-- Get Message
>
set vMsg to item 1 of (get current messages)
>
>
tell vMsg
>
set vsenderInfo to sender as list
>
set vSenderAddress to item 1 of vsenderInfo
>
set vSenderName to item 2 of vsenderInfo
>
set vSubject to subject
>
set vContent to content
>
set vTimeRecieved to time received as string
>
end tell
>
>
end tell
You need to run this script as part of a rule. You set the criteria for
which messages the script will run on as part of the rule, with the action
being to run the script.
Look at Rules in the Tools menu.
--
Matthew Smith
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.