Re: scripting netscape 4.76
Re: scripting netscape 4.76
- Subject: Re: scripting netscape 4.76
- From: Phi Sanders <email@hidden>
- Date: Wed, 3 Jan 2001 16:35:24 -0500
Try using "URL Access" instead of "Netscape"
~Phi
--
Phi Sanders
"Phee, Phi, Pho, Phum..."
"And now, back to your regularly scheduled reality."
On 1/3/01, Joseph D'Andrea {email@hidden} said the following :
>
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/
>
_________________________________________________
>
_______________________________________________
>
applescript-users mailing list
>
email@hidden
>
http://www.lists.apple.com/mailman/listinfo/applescript-users