• 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: Selected text in Mail.app?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Selected text in Mail.app?
      • From: Martin Orpen <email@hidden>
References: 
 >Selected text in Mail.app? (From: Lorin Rivers <email@hidden>)

  • Prev by Date: Re: Digest, Vol 1, Issue 1
  • Next by Date: Re: Photoshop layer mask scripting - stumped
  • Previous by thread: Re: Selected text in Mail.app?
  • Next by thread: Re: Selected text in Mail.app?
  • Index(es):
    • Date
    • Thread