Posting Form Data with UAS or iCAB
Posting Form Data with UAS or iCAB
- Subject: Posting Form Data with UAS or iCAB
- From: ehsan saffari <email@hidden>
- Date: Tue, 23 Sep 2003 19:12:13 -0600
Hi
I am trying to fill a form and post it with icab or URL Access scripting.
Problem is I can't figure out how to send the form data so either
application can fill the form, all my attempts have resulted in a
unfilled form.
here is one failing method
set theDirectParam to
"
http://www.sunrisesunset.com/custom_srss_calendar.asp"
set file_path to "daDisk:Desktop folder:Calfile.html"
set theFlags to 1
set theFormData to ("Select a city=Billings, Montana" & "+" & "month=2" &
"year=2005" & "+" & "time_type=24-hour" & "+" & "want_twi_civ & VALUE=" &
"1" & "+" & "want_mphase VALUE=" & "1" & "+" & "want_mrms VALUE=" & "1")
tell application "iCab"
OpenURL theDirectParam to file file_path Flags theFlags FormData
theFormData
end tell
(fails using same form data with UAS)
both icab & UAS download an unfilled form instead of the resulting page.
I have looked up the archives and couldn't find anything about how to
discern the syntax for form submission or any hint on what I'm doing wrong
Thanks for any help
(Mac OS 8.6, iCab 2.95, UAS 1.0.1)
cheers
ehsan
_______________________________________________
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.