Re: Selected text in Mail.app?
Re: Selected text in Mail.app?
- Subject: Re: Selected text in Mail.app?
- From: Graff <email@hidden>
- Date: Tue, 14 Sep 2004 12:22:23 -0400
You can always use UI Scripting:
<http://www.apple.com/applescript/uiscripting/index.html>
Make sure that UI Scripting is activated:
<http://www.apple.com/applescript/uiscripting/01.html>
and then use this script:
----
tell application "Mail" to activate
tell application "System Events"
tell process "Mail"
keystroke "c" using command down
end tell
end tell
set theText to the clipboard
----
- Ken
On Sep 14, 2004, at 11:43 AM, Lorin Rivers wrote:
Is it possible to get the contents of the current selection in Mail? I
can't figure it out...
In other words, something similar to what happens when you reply to a
message with some of the text selected.
Please CC me as I am on the digest.
--
Lorin Rivers
Marketing Professional
<mailto:email@hidden>
<http://homepage.mac.com/lrivers>
512/203.3198 (m) 408/580.8588 (f)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
_______________________________________________
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