Re: How to select a message in Apple mail, given mail ID?
Re: How to select a message in Apple mail, given mail ID?
- Subject: Re: How to select a message in Apple mail, given mail ID?
- From: Luther Fuller <email@hidden>
- Date: Thu, 29 Sep 2011 07:23:13 -0500
On Sep 29, 2011, at 12:37 AM, Shuba and Karthik wrote: repeat with theMsg in unreadMsgs set theID to id of theMsg set selected messages to {first message whose id is theID} -- Process unread and selected message
You aren't using 'id of theMsg' for anything except to find the message the id came from. 'id of theMsg' is a unique integer used by the Finder to store the file that contains the message. You can shorten the code, above, to ...
set selected messages to {theMsg}
and eliminate the 2nd line.
|
_______________________________________________
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