• 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: scripting 'mail' from OS X
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: scripting 'mail' from OS X


  • Subject: Re: scripting 'mail' from OS X
  • From: Cornwall <email@hidden>
  • Date: Wed, 20 Mar 2002 20:35:48 -0800

On 3/19/2002, cricket wrote:

If the message is selected (but not opened in a separate window), you could use something like this:

tell application "Mail"
set theSelectedMessages to the selection
--and some more
end tell


Does that run for you? When I try it I get a run time error:

Mail got an error:
NSReceiverEvaluationScriptError: 3

And "selection" is highlighted.

OSX 10.1.3, AppleScript 1.8.2b3.

Thanks
Corny
_______________________________________________
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.

  • Follow-Ups:
    • Re: scripting 'mail' from OS X
      • From: cricket <email@hidden>
  • Prev by Date: Re: AppleScript Language Guide [ASLG] (was Beginners question)
  • Next by Date: Re: scripting 'mail' from OS X
  • Previous by thread: Re: scripting 'mail' from OS X
  • Next by thread: Re: scripting 'mail' from OS X
  • Index(es):
    • Date
    • Thread