• 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: 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.

  • Follow-Ups:
    • Re: Selected text in mail.app
      • From: Michelle Steiner <email@hidden>
References: 
 >Selected text in mail.app (From: Michelle Steiner <email@hidden>)

  • Prev by Date: "save as" question
  • Next by Date: Re: Selected text in mail.app
  • Previous by thread: Selected text in mail.app
  • Next by thread: Re: Selected text in mail.app
  • Index(es):
    • Date
    • Thread