Re: Selected email paths
Re: Selected email paths
- Subject: Re: Selected email paths
- From: Takaaki Naganoya <email@hidden>
- Date: Thu, 2 Sep 2010 01:03:48 +0900
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"
|
_______________________________________________
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