• 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
scripting netscape 4.76
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

scripting netscape 4.76


  • Subject: scripting netscape 4.76
  • From: "Joseph D'Andrea" <email@hidden>
  • Date: Tue, 19 Dec 2000 09:13:02 -0500

I need to write a script to tell netscape to hit a web site URL with
some post arguments and save the result in a file. Sounds simple...
but I have not been able to make much progress with this. Is there
anyone who can offer some assistance (like writing the script for me).

Here is the script that I have so far

tell application "Netscape Communicator"
OpenURL "http://dev.west21.com/et/netscapetest.tpl"; to file
"Macintosh HD:joey3" post data "abc=def"
end tell


But the only thing it does is hit the URL (at least it does
something).... but the file "joey3" never gets created and the post
arguments are not passed.


Here's the netscape dictionary...

OpenURL: Opens a URL. Allows for more options than GetURL event
OpenURL string -- URL
[to 'FSS '] -- file destination
[toWindow integer] -- window iD
[flags integer] -- Binary: any combination of 1, 2
and 4 is allowed: 1 and 2 mean force reload the document. 4 is ignored
[post data string] -- Form posting data
[post type string] -- MIME type of the posting
data. Defaults to application/x-www-form-urlencoded
[progressApp 'psn '] -- Application that will
display progress
Result: integer -- ID of the loading window

_________________________________________________
Joseph D'Andrea email@hidden
WEST21.com Internet services for the 21st Century
http://www.west21.com/
_________________________________________________


  • Prev by Date: Re: speak a message through the phone connection help
  • Next by Date: Re: speak a message through the phone connection help
  • Previous by thread: scripting netscape 4.76
  • Next by thread: scripting netscape 4.76 (add'l)
  • Index(es):
    • Date
    • Thread