How to fill in web form as "open location" url?
Subject : How to fill in web form as "open location" url?
From: Eric Geoffroy <email@hidden >
Date: Thu, 29 Jun 2006 13:39:00 -0700
Delivered-to: email@hidden
Delivered-to: email@hidden
I'm attempting to construct a form URL with either AppleScript or curl.
Goal: Insert ISBN (text string) and submit the form.
<a href="/index.cfm" id="logoHREF" title="GHEPM Home"></a>
<div id="quicksearch">
<FORM NAME="quicksearch" METHOD="post" ACTION="result.cfm"
TARGET="_parent" onSubmit = "return sub_form();">
<INPUT TYPE="HIDDEN" NAME="operator" VALUE="C">
<INPUT TYPE="HIDDEN" NAME="authoperator" VALUE="C">
<INPUT TYPE="HIDDEN" NAME="main_title_ind" VALUE="1">
<INPUT TYPE="HIDDEN" NAME="active_ind" VALUE="1">
<INPUT TYPE="hidden" NAME="title" VALUE="">
<INPUT TYPE="hidden" NAME="author" VALUE="">
<INPUT TYPE="hidden" NAME="isbn" VALUE="">
<INPUT TYPE="hidden" NAME="pearid" VALUE="">
<SELECT id="searchtype" name="searchtype" onchange="setFocus
('searchterm');">
<OPTION value="isbn" selected>ISBN:</OPTION>
<OPTION value="author">Author:</OPTION>
<OPTION value="title">Title:</OPTION>
<OPTION value="peaid">Pea ID:</OPTION>
</SELECT><INPUT id="searchterm" name="searchterm"/><INPUT
id="qsearchbutton" name="qsearchbutton" type="image" title="GO"
alt="GO" src="/images/118104_go.gif">
</FORM>
</div>
Here's what I tried:
open location "http://hep.chindogu.com/result.cfm?isbn=0131435965" ;
(domain changed for privacy)
Thanks for any suggestions.
- Eric
***********************************************************************
This email may contain confidential material.
If you were not an intended recipient,
please notify the sender and delete all copies.
We may monitor email to and from our network.
***********************************************************************
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden
This email sent to email@hidden
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.