• 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: Wanted: Well scriptable browser
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Wanted: Well scriptable browser


  • Subject: Re: Wanted: Well scriptable browser
  • From: "Daniel A. Shockley" <email@hidden>
  • Date: Mon, 24 Mar 2003 14:24:22 -0500

If you want to just send information to a web form, you can use either URL Access Scripting or the command-line utility curl, as Andrew mentions. Both are built-in to Mac OS X, and Mac OS 9 does have URLAS.

I've got a short tutorial on submitting forms at <http://danshockley.com/index.php>, as well as a simple download handler that lets you use curl to POST a form (in my handlers page).

If you need to see the results of your form-post, you can always open the file that is returned by the POST command.

If you MUST interact with a browser, you can fill out the form using Javascript commands sent via "do script" to Internet Explorer. I believe there are samples of how to do this either in the mailing list archives, or at http://bbs.applescript.net

On 3/23/2003, Felicidad Sauser <email@hidden> wrote:
Date: Sun, 23 Mar 2003 14:14:19 -0800 (PST)
From: Felicidad Sauser <email@hidden>
Subject: Wanted: Well scriptable browser
To: email@hidden

Hello,

I try to write a script that controls a web browser to
do the following things:
- fill in form text fields
- choose popup menus, radio + checkboxes
- click form submit buttons
- click some links


On 3/24/2003, Andrew Oliver <email@hidden> wrote:
From: Andrew Oliver <email@hidden>
To: <email@hidden>

Are you sure you need a web browser for this?

I tend to think of web browsers purely as a way to DISPLAY html pages which
doesn't necessarily sound like a requirement of your request - you're
essentially posting a web form and following URLs.

Don't get me wrong, scripting IE (which is probably the most scriptable web
browser) may be the way to do, but everything you describe here can be done
with curl, the built-in command-line http tool.

man curl or curl --help for more details

Andrew
:)

--
----
Daniel A. Shockley, Database Programmer
MacEasy Computing
email@hidden
email@hidden
email@hidden
http://www.maceasycomputing.com
_______________________________________________
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.

  • Prev by Date: Re: Word scripting?
  • Next by Date: urgent questions still unanswered..
  • Previous by thread: Re: Wanted: Well scriptable browser
  • Next by thread: Mount Volume bugs?
  • Index(es):
    • Date
    • Thread