Re: Selected email paths
Re: Selected email paths
- Subject: Re: Selected email paths
- From: Nawal Husnoo <email@hidden>
- Date: Wed, 1 Sep 2010 17:50:07 +0100
Thanks a lot!
Cheers,
Nawal.
On 1 September 2010 17:03, Takaaki Naganoya
<email@hidden> wrote:
http://piyocast.com/as/archives/190
4 yeas ago, Phillip Aker wrote it.
I ensured it works on Mac OS X 10.6.
On 2010/09/01, at 22:06, Nawal Husnoo wrote:
Dear all
How can I find the path to an email? I would like to have a list of paths to each of the selected emails - in ~/Library/Mail/*
tell application "Mail"
set selectedMails to the selection
log selectedMails
if the length of selectedMails is greater than 0 then
repeat with theMessage in selectedMails
log theMessage
end repeat
else
say "You have to select mails first"
end if
end tell
Cheers,
Nawal.
Free AppleScript Library "AS Hole"
--
The best way to predict the future is to invent it. - Alan Kay
http://www.galileon.co.uk/
_______________________________________________
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