• 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: Netscape email scripting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Netscape email scripting & pasting weirdness
      • From: Kelvin Aitken <email@hidden>
References: 
 >Re: Netscape email scripting (From: Kelvin Aitken <email@hidden>)

  • Prev by Date: Re: Strip characters without recursive loop
  • Next by Date: appletalk and tcpip
  • Previous by thread: Re: Netscape email scripting
  • Next by thread: Netscape email scripting & pasting weirdness
  • Index(es):
    • Date
    • Thread