• 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
URL Access Scripting & Form Posting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

URL Access Scripting & Form Posting


  • Subject: URL Access Scripting & Form Posting
  • From: Boonee <email@hidden>
  • Date: Wed, 7 Mar 2001 20:31:15 -0500

I am a novice scripter but have been actively following this list and
have caught the bug to learn more and do more. I have been
experimenting with URL Access Scripting and need some assistance on
scripting a post. The form is an Amazon.com form which is here -
http://www.amazon.com/exec/obidos/tg/stores/static/-/music/search/104-
8728514-4507965. It asks for the user to enter the artist, title and
label and press the button "search now". I would like to use URL
Access Scripting instead of Netscape Navigator or Explorer to send
this info and then save the page returned to a file on disk.
I understand the basic format but cannot figure out the form data
part. Please help.
I have this so far:

set vfilePath to "Macintosh HD:Downloads:SourceData"
Set i to "http://www.amazon.com/..."; --the post data should go
here - artist, title and label
tell application "URL Access Scripting"
try
download i to file vfilePath with progress
on error err
Display Dialog err
return
end try
end tell


  • Prev by Date: rtsp/http help
  • Next by Date: [Off] Time for a short Knapp
  • Previous by thread: rtsp/http help
  • Next by thread: Re: URL Access Scripting & Form Posting
  • Index(es):
    • Date
    • Thread