Reply in Mail 2.0.2 not working?
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