• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Get/Set text selected in a Mail.app message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Prev by Date: Anybody to add only if absent to a group in address book?
  • Next by Date: Re: Get/Set text selected in a Mail.app message
  • Previous by thread: Re: Get/Set text selected in a Mail.app message
  • Next by thread: Anybody to add only if absent to a group in address book?
  • Index(es):
    • Date
    • Thread