• 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
Scripting Mail error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Scripting Mail error


  • Subject: Scripting Mail error
  • From: Hudson Barton <email@hidden>
  • Date: Thu, 21 Apr 2005 10:03:29 -0400

I'm trying to change the content of a selected message in Apple's "Mail". The following script produces an error. Why?

tell application "Mail"
	set x to (selected messages of message viewers) as list
	set y to item 1 of item 1 of x
	set content of y to "the grapes of wrath"
end tell


Thanks

H.
_______________________________________________
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: Scripting Mail error
      • From: Michelle Steiner <email@hidden>
References: 
 >Re: Shell script (From: Martin Orpen <email@hidden>)
 >Re: Shell script (From: Christopher Nebel <email@hidden>)

  • Prev by Date: application references and introspection
  • Next by Date: Re: Scripting Mail error
  • Previous by thread: Re: Shell script
  • Next by thread: Re: Scripting Mail error
  • Index(es):
    • Date
    • Thread