Re: search in mail
Re: search in mail
- Subject: Re: search in mail
- From: Michelle Steiner <email@hidden>
- Date: Sun, 2 Jan 2011 07:10:28 -0700
On Jan 2, 2011, at 3:54 AM, Joshua Whalen wrote: I'm trying to write a script that will loop through inbox, and extract the subject line from every unread message a save it as a text string.
tell application "Mail" set the subjectList to the subject of messages of inbox whose read status is false end tell set text item delimiters to return set the subjectList to the the subjectList as text --save to file
-- Michelle -- Life is not a journey to the grave with the intention of arriving safely in a pretty and well preserved body, but rather to skid in broadside, thoroughly used up, totally worn out, and loudly proclaiming, "WOW! What a ride!!!"
|
_______________________________________________
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