• 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: Selected email paths
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


--
Takaaki Naganoya
Piyomaru Software
http://piyo.piyocast.com
email@hidden
twitter:piyomaru

PiyoCast Web (Podcasting with Music!)
http://www.piyocast.com
Free AppleScript Library "AS Hole"
http://www.piyocast.com/as/




 _______________________________________________
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

  • Follow-Ups:
    • Re: Selected email paths
      • From: Luther Fuller <email@hidden>
    • Re: Selected email paths
      • From: Nawal Husnoo <email@hidden>
References: 
 >Selected email paths (From: Nawal Husnoo <email@hidden>)

  • Prev by Date: Re: Selected email paths
  • Next by Date: Re: Library Modules and Library Loaders
  • Previous by thread: Re: Selected email paths
  • Next by thread: Re: Selected email paths
  • Index(es):
    • Date
    • Thread