Scripting Mail:get selection
Scripting Mail:get selection
- Subject: Scripting Mail:get selection
- From: Philippe GRUCHET <email@hidden>
- Date: Mon, 24 Feb 2003 17:41:59 +0100
Hi,
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.
Kind regards,
Philippe Gruchet/SVM Mac
VNU Publications France
http://svmmac.vnunet.fr
_______________________________________________
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.