Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mail.app "reply" verb returning nothing



On Jan 3, 2007, at 10:04 AM, 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?

No. The following code sets the variable properly:

tell application "Mail"
set myMessage to make new outgoing message with properties {visible:true, subject:"this is a subject", content:"This is a test message."}
myMessage
end tell


--> outgoing message id 284965232 of application "Mail"

--
America: A nation of people avoiding moderation like it's the plague.


_______________________________________________ Do not post admin requests to the list. They will be ignored. AppleScript-Users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/applescript-users/email@hidden Archives: http://lists.apple.com/mailman//archives/applescript-users

This email sent to email@hidden
References: 
 >Re: Mail.app "reply" verb returning nothing (From: Dylan McNamee <email@hidden>)
 >Re: Mail.app "reply" verb returning nothing (From: deivy petrescu <email@hidden>)
 >Re: Mail.app "reply" verb returning nothing (From: Michelle Steiner <email@hidden>)
 >Re: Mail.app "reply" verb returning nothing (From: deivy petrescu <email@hidden>)
 >Re: Mail.app "reply" verb returning nothing (From: Daniel Jalkut <email@hidden>)
 >Re: Mail.app "reply" verb returning nothing (From: Martin Orpen <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.