• 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
get selected text of message in Mail?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

get selected text of message in Mail?


  • Subject: get selected text of message in Mail?
  • From: "Charles Arthur, UKClimbing Editor" <email@hidden>
  • Date: Wed, 31 Aug 2005 21:57:16 +0100

OK, I can't figure it out. Is it feasible?

In Eudora (where yes, I enjoy changing the subject line... oh, that's
another topic, isn't it?) one can do

	set thetext to selected text

and get, well, the text you've selected in whatever message you're looking at.

However I've found nothing comparable in Mail.

You can get the whole text of a message -
	set foo to the selection
	set foo to item 1 of foo
	set thetext to (content) of foo
(inside a Mail tell block of course)

but things like "selected text of content" don't compile, "selection of
content" doesn't make sense (because "selection" applies to the mail
messages window).

Any way to do this?

     Charles
--
http://www.ukclimbing.com : 1,000+ British crags, 350+ British climbing walls
- searchable by distance rock type, etc, with 5-day weather forecasts for
every one - plus maps, articles, news, and the New Routes database. There's
even a cool shop attached...
 _______________________________________________
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

  • Prev by Date: Re: Applescript-users Digest, Vol 2, Issue 565
  • Next by Date: [ANN] XFind 1.0
  • Previous by thread: Re: Applescript-users Digest, Vol 2, Issue 565
  • Next by thread: [ANN] XFind 1.0
  • Index(es):
    • Date
    • Thread