Re: Selected text in mail.app
Re: Selected text in mail.app
- Subject: Re: Selected text in mail.app
- From: Graff <email@hidden>
- Date: Thu, 20 Nov 2003 15:41:19 -0500
You could always use the System Events.app and the clipboard to do it.
See this site for more about System Events:
<
http://www.apple.com/applescript/uiscripting/>
-Ken
Here is some sample code:
-------
tell application "Mail"
activate
end tell
tell application "System Events"
tell process "Mail"
keystroke "c" using {command down}
set theText to (the clipboard) as text
end tell
end tell
display dialog theText
-------
On Nov 20, 2003, at 11:05 AM, Michelle Steiner wrote:
Is it possible yet to get the selection within a received message in
mail.app? If so, how?
--Michelle
--
If you don't hit any bumps in the road, you're not moving.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.