Re: Scripting Mail:get selection
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.