Re: Mail on El Capitan – Message ID Ref Fails to Compile
Re: Mail on El Capitan – Message ID Ref Fails to Compile
- Subject: Re: Mail on El Capitan – Message ID Ref Fails to Compile
- From: Brian Christmas <email@hidden>
- Date: Wed, 28 Dec 2016 11:32:18 +1100
G’day Chris
These work fine. Do they answer your question?
tell application "Mail" set tempmessageID to message id of message 1 of mailbox "* items to manually process" as rich text set theMESSAGE to some message of mailbox "* items to manually process" whose message id is tempmessageID end tell tell application "Mail" activate set selectedMessageList to selection if selectedMessageList ≠ {} then set selectedMessage to item 1 of selectedMessageList set tempmessageID to message id of selectedMessage set tempmailbox to mailbox of selectedMessage set theMESSAGE to some message of tempmailbox whose message id is tempmessageID end if end tell
Regards
Santa
On 28 Dec 2016, at 10:36 am, Christopher Stone < email@hidden> wrote:
set selectedMessageList to selection if selectedMessageList ≠ {} then set selectedMessage to item 1 of selectedMessageList end if
|
_______________________________________________
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