Re: Netscape email scripting
Re: Netscape email scripting
- Subject: Re: Netscape email scripting
- From: Nigel Smith <email@hidden>
- Date: Tue, 19 Aug 2003 10:41:00 +0100
On 18/8/03 13:58, "Kelvin Aitken" <email@hidden> wrote:
>
The only samples I could find on the web had to do with
>
getting Netscape to go to a URL. All I want to do is copy some text out
>
of the mail window.
You might be able to use some form of
Do JavaScript "getSelection()"
to return the selected text, but I couldn't get it to work.
That might have something to do with the unresolved "[AppleEvents] Required
events not yet supported in Mac Mozilla." bug listed at
<
http://bugzilla.mozilla.org/show_bug.cgi?id=5701>, but I don't really know
enough about the Mozilla family tree to say for sure.
In the meantime, how about going through the clipboard? Select the text,
Command-C, run the script would might be something like:
tell application "AppleWorks 6"
set theDoc to make new document at front
set contents of theDoc to the clipboard
end tell
HTH,
Nigel
_______________________________________________
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.