Re: Mail.app "reply" verb returning nothing
Re: Mail.app "reply" verb returning nothing
- Subject: Re: Mail.app "reply" verb returning nothing
- From: Dylan McNamee <email@hidden>
- Date: Wed, 3 Jan 2007 10:39:03 -0800
Martin Orpen wrote:
Just another data point - I copy/pasted the script into my script
editor and ran it, and I also get the "variable myReply is not
defined" problem.
Isn't that because you are attempting to set your variable to the
command "reply" rather than a value?
The reply verb is supposed to return a message object. If my script
sets it to the verb itself, what syntax would I use to set it to the
_return value_ of executing the verb?
deivy petrescu wrote:
<... an event log of a successful run of the script, with myReply
getting set (!)>
By the way, OS X 10.4.8, SE Version 2.1.1 (81), AS 1.10.7
I'm running exactly the same versions of everything, and get the
following event log:
<log>
tell application "Mail"
activate
get message viewer 1
message viewer id 370198112
get selected messages of message viewer id 370198112
{message id 143254 of mailbox "INBOX" of account "aracnet"}
reply message id 143254 of mailbox "INBOX" of account "aracnet" with
opening window
"The variable myReply is not defined."
</log>
This is very curious! I don't suppose version of Mail.app matters
(or could possibly be different?) Mine is 2.1.1 (752.3)
thanks for everyone's help! I'm both encouraged that I wasn't nuts,
but discouraged that once again my attempts at AppleScripting seem to
uncover a seemingly half-bakedness of the whole affair.
dylan
ps: I got your mail, deivy, late last night, so that part makes sense
again.
_______________________________________________
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/mailman//archives/applescript-users
This email sent to email@hidden