• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Entourage Rules & AppleScript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Entourage Rules & AppleScript
      • From: Martin Orpen <email@hidden>
References: 
 >Entourage Rules & AppleScript (From: Martin Orpen <email@hidden>)

  • Prev by Date: RE: Repeated opening of a Quark document
  • Next by Date: why is applescript so slow???
  • Previous by thread: Entourage Rules & AppleScript
  • Next by thread: Re: Entourage Rules & AppleScript
  • Index(es):
    • Date
    • Thread