• 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: Scripting Mail:get selection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scripting Mail:get selection


  • Subject: Re: Scripting Mail:get selection
  • From: Paul Berkowitz <email@hidden>
  • Date: Mon, 24 Feb 2003 08:56:16 -0800

On 2/24/03 8:41 AM, "Philippe GRUCHET" <email@hidden> wrote:

> A simple and basic question about scripting Mail under Mach-O 10.2:
>
> How to copy-paste to the Clipboard a user selection in any Mail's
> displayed (frontmost) window?
>
> -- set userSelection to window 1's selection
> -- set the clipboard to userSelection
>
> But, 'selection' is not a Mail's keyword, nor 'content':
>
> -- get window 1's content -- doesn't work
>
> Does it need a 'tell application "System Events"' block?
>
> I just need an handler to grab selected text.
> Thanks in advance for your help.

Try a more scriptable email application. Mail can't do it.

--
Paul Berkowitz
_______________________________________________
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.

References: 
 >Scripting Mail:get selection (From: Philippe GRUCHET <email@hidden>)

  • Prev by Date: Re: Open QXD-file +Getting file path of every image
  • Next by Date: Re: Newbie Questions: Error numbers - any complete reference
  • Previous by thread: Scripting Mail:get selection
  • Next by thread: Re: Scripting Mail:get selection
  • Index(es):
    • Date
    • Thread