• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Mail.app "reply" verb returning nothing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Mail.app "reply" verb returning nothing
      • From: Martin Orpen <email@hidden>
References: 
 >Mail.app "reply" verb returning nothing (From: Dylan McNamee <email@hidden>)

  • Prev by Date: Re: LART/LRT (Was: Irritating list reply-to policy)
  • Next by Date: RE: AppleScript-Users Digest, Vol 4, Issue 6
  • Previous by thread: Re: Mail.app "reply" verb returning nothing
  • Next by thread: Re: Mail.app "reply" verb returning nothing
  • Index(es):
    • Date
    • Thread