Re: Sending from Mail
Re: Sending from Mail
- Subject: Re: Sending from Mail
- From: Philip Aker <email@hidden>
- Date: Sun, 20 Sep 2009 02:38:08 -0700
On 2009-09-20, at 02:26:44, Philip Aker wrote:
How do I get that word out of the original subject?
Here I'm getting the subject of every post in a nested mailbox whose
sender is "email@hidden".
tell application "Mail"
set mlst to (get subject of every message of mailbox "x" of mailbox
"y" whose sender contains "email@hidden")
end tell
So I think you can get the subject of a specific message easily and
then test to see if it contains a certain word.
PS, The above script takes a long time on my setup (Slow Leopard
10.6.1). I'm not sure why. Seems to me similar calls were faster on
plain vanilla Leopard.
Philip Aker
echo email@hidden@nl | tr a-z@. p-za-o.@
Democracy: Two wolves and a sheep voting on lunch.
_______________________________________________
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