• 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
Posting Form Data with UAS or iCAB
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Posting Form Data with UAS or iCAB
      • From: Walter Ian Kaye <email@hidden>
  • Prev by Date: Re: Image thumbnails question
  • Next by Date: Re: Wierd error
  • Previous by thread: Re: Converting enums to strings and v.v.
  • Next by thread: Re: Posting Form Data with UAS or iCAB
  • Index(es):
    • Date
    • Thread