Re: Entourage Rules & AppleScript
Re: Entourage Rules & AppleScript
- Subject: Re: Entourage Rules & AppleScript
- From: Gnarlodious <email@hidden>
- Date: Mon, 29 Nov 2004 18:55:36 -0700
item 1 of (get current messages) ?
Entity Martin Orpen spoke thus:
> This is probably an easy one, but I'm too tired to work it out.
>
> I've got a rule that I can apply to selected messages using:
>
> tell application "Microsoft Entourage"
> set foo to selection
> set theAddress to address of sender of item 1 of foo
> set theAccount to account of item 1 of foo
> end tell
>
> But if I try to apply it to incoming messages it obviously throws an error
> stating "Can't get selection".
>
> I've tried calling the message the "current" message and "message 1" and
> "me" and "it" but it won't work :-(
>
> What do you call *the* message that is the target of the rule?
>
> (preparing to kick myself...)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden