• 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
Reply in Mail 2.0.2 not working?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Reply in Mail 2.0.2 not working?


  • Subject: Reply in Mail 2.0.2 not working?
  • From: Marc Berenschot <email@hidden>
  • Date: Tue, 19 Jul 2005 09:05:16 +0200

Hello,

The following applescript works in Panther (10.3.9) but not in Tiger (10.4.2). It gives an error on the line "send theReplyEmail". The error is: "The variable theReplyEmail is not defined."
Why is it different for Tiger and are these differences documented somewhere? What is the new construction (if there is any...).



using terms from application "Mail" on perform mail action with messages theSelectedMessages tell application "Mail" set theMessage to item 1 of theSelectedMessages set theReplyEmail to (reply theMessage with opening window) send theReplyEmail end tell end perform mail action with messages end using terms from

-- If run as an ordinary script, instead of directly from the Scripts
-- menu, it will call the default handler instead.
using terms from application "Mail"
    on run
        tell application "Mail" to set sel to selection
        tell me to perform mail action with messages (sel)
    end run
end using terms from

Thanks,

Marc Berenschot.

--

Marc Berenschot
Email: email@hidden, Phone: 053 4894615
UNIX Systeembeheerder


_______________________________________________ Do not post admin requests to the list. They will be ignored. Applescript-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Reply in Mail 2.0.2 not working?
      • From: pete boardman <email@hidden>
  • Prev by Date: Re: Using AppleScript, how to save Quark XPress documents as pdf files under Classic ?
  • Next by Date: Mail and attachments
  • Previous by thread: Re: TextEdit script (Applescript-users Digest, Vol 2, Issue 471)
  • Next by thread: Re: Reply in Mail 2.0.2 not working?
  • Index(es):
    • Date
    • Thread