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

Re: Mail scripting


  • Subject: Re: Mail scripting
  • From: Hudson Barton <email@hidden>
  • Date: Thu, 21 Apr 2005 21:11:22 -0400

What is the syntax to save a message in "Mail" to a text file in a specific folder as plain text?


tell application "Mail" set y to (selected messages of message viewers) as list set y to item 1 of item 1 of y set y to content of y end tell tell application "Finder" make new file set x to result as alias open for access x with write permission write y to x close access x end tell

Regards,


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
References: 
 >Mail scripting (From: Jim Brandt <email@hidden>)

  • Prev by Date: Mail scripting
  • Next by Date: indesign CS data merge (PmPack Plugin) scripting
  • Previous by thread: Mail scripting
  • Next by thread: indesign CS data merge (PmPack Plugin) scripting
  • Index(es):
    • Date
    • Thread