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

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

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