Re: Get/Set text selected in a Mail.app message
Re: Get/Set text selected in a Mail.app message
- Subject: Re: Get/Set text selected in a Mail.app message
- From: "Emmanuel M. Décarie" <email@hidden>
- Date: Sat, 09 Dec 2006 17:06:39 -0500
De : Michelle Steiner <email@hidden>
Date : 9 décembre 2006 12:27:38 HNE
Objet : Rép : Get/Set text selected in a Mail.app message
You can't. Maybe in Leopard, but not in Tiger or earlier. Here is
a work-around:
tell application "Mail"
activate
tell application "System Events" to keystroke "c" using command down
set foo to the clipboard
end tell
Thanks for the tip !
Cheers
-Emmanuel
--
Emmanuel Décarie / Programmation pour le Web - Programming for the Web
<http://scriptdigital.com/> - Blog: <http://lettre13.com> - AIM:
scriptdigital
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/mailman//archives/applescript-users
This email sent to email@hidden