• 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: apples mail help
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: apples mail help


  • Subject: Re: apples mail help
  • From: Michelle Steiner <email@hidden>
  • Date: Fri, 16 Nov 2007 15:22:10 -0700

On Nov 16, 2007, at 2:24 PM, Bob Cuilla wrote:

I have a mail account called "request" with a mailbox there in called "valid"

using AS I would like to select all the messages in "valid" which is in "requests"

then I would like to "save as" all those selected messages as "plain text" to a file called "final destination" on the desktop


wow!! can this all be done?

I think this will do it:

tell application "Mail"
set theContent to the content of messages of mailbox "valid"
end tell
set fref to open for access (path to desktop as text) & "Final Destination" with write permission
set eof of fref to 0
write theContent to fref
close access fref


-- Michelle

--
"You can fool some of the people all of the time and those are the ones you want to concentrate on."
- George W. Bush at the Gridiron Dinner, Washington, DC March 31, 2001


_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
References: 
 >apples mail help (From: Bob Cuilla <email@hidden>)

  • Prev by Date: Re: Leopard Date Bugs
  • Next by Date: Re: Quark PlugIn AppleScript Directory
  • Previous by thread: apples mail help
  • Next by thread: apple mail help
  • Index(es):
    • Date
    • Thread