• 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: cricket <email@hidden>
  • Date: Thu, 21 Mar 2002 13:13:26 -0800

My mistake. This will work in the next release, but does not work in 10.1.
3.

- cricket

On Wednesday, March 20, 2002, at 08:35 PM, Cornwall wrote:

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.

----->
Software Entomologist/Mail for Mac OS X email@hidden
---------->
Yet another guy with the munchies for freedom
_______________________________________________
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:
    • Scripting Startup Disk System Preference in OS X
      • From: Allen Burnett <email@hidden>
References: 
 >Re: scripting 'mail' from OS X (From: Cornwall <email@hidden>)

  • Prev by Date: iTunes 2.0.4 Changes
  • Next by Date: Speakable items
  • Previous by thread: Re: scripting 'mail' from OS X
  • Next by thread: Scripting Startup Disk System Preference in OS X
  • Index(es):
    • Date
    • Thread