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 20:09:56 -0500
I *think* that's the only way to do it right now. The command
"selection" means a selection of messages to Mail, not the selected
test of a message. You can get the entire contents of the current
message, but not what the user has selected. So it comes down to using
UI scripting and the clipboard. Honestly it works just as well as
directly doing it, in the end you have the text in a variable just as
you need it. Sure it's a bit of a kludge but sometimes it just comes
down to that with scripting.
Unless someone else has a different method it looks like UI scripting
is the only way to get the text highlighted in a message in Mail.app
- Ken
On Nov 20, 2003, at 5:47 PM, Michelle Steiner wrote:
I want to do it directly, not a work around with the clipboard and UI
scripting.
_______________________________________________
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.