Hey Folks,
What the bleep!
This works fine:
------------------------------------------------------------------------------------------- tell application "Mail" set selectedMessageList to selection if selectedMessageList ≠ {} then set selectedMessage to item 1 of selectedMessageList end if end tell -------------------------------------------------------------------------------------------
Operating on messages in the selectedMessageList is not a problem.
But the bare reference to a message fails to compile! (The very same reference that appears in the selectedMessageList.)
message id 789225 of mailbox "Sent Messages" of account "listmeister" --> FAILS to compile
I'm assuming this is because of the message id property.
I need to refer to a specific message and copy it at need to my drafts mailbox.
Using a whose clause is not an option.
Is there a way?
TIA.
__________________________________________________________________ { MacBookPro6,1 · 2.66 GHz Intel Core i7 · 8GB RAM · OSX 10.11.6 }
|