Referencing a Message in Mail 6.1 - Huh?
Referencing a Message in Mail 6.1 - Huh?
- Subject: Referencing a Message in Mail 6.1 - Huh?
- From: Christopher Stone <email@hidden>
- Date: Mon, 01 Oct 2012 19:56:22 -0500
Hey Folks,
I can scriptomatically acquire a reference to a message in the form shown below and use it later in the script, BUT if I simply paste the reference into a script it won't compile.
tell application "Mail" message id 392140 of mailbox "INBOX" of account "test" of application "Mail" end tell
WTH?
Shouldn't I be able to reference it directly and do something like:
tell application "Mail" tell message id 392140 of mailbox "INBOX" of account "test" of application "Mail" get its source end tell end tell
I know I can work around this by doing:
tell application "Mail" tell item 1 of (messages of mailbox "INBOX" of account "junksieve" whose id is 392140) get its source end tell end tell
But that seems ridiculous.
Thanks.
-- Best Regards, Chris
|
_______________________________________________
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