• 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
Entourage Rules & AppleScript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Entourage Rules & AppleScript


  • Subject: Entourage Rules & AppleScript
  • From: Martin Orpen <email@hidden>
  • Date: Tue, 30 Nov 2004 00:57:20 +0000

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...)

--
Martin Orpen
Idea Digital Imaging Ltd -- The Image Specialists
http://www.idea-digital.com


 _______________________________________________
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: Gnarlodious <email@hidden>
  • Prev by Date: Quark scripting question
  • Next by Date: RE: Repeated opening of a Quark document
  • Previous by thread: Quark scripting question
  • Next by thread: Re: Entourage Rules & AppleScript
  • Index(es):
    • Date
    • Thread