• 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 form data download into variable?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

URL form data download into variable?


  • Subject: URL form data download into variable?
  • From: "Sprague, Graham" <email@hidden>
  • Date: Fri, 10 May 2002 10:35:39 -0400

Is there a way to get the HTML stream frok a URLAS download to go directly
into a variable rather than a file? I tried the following without success.
Any help would be great.


property htmlOutput:""

tell application "URL Access Scripting"

set x to download "http://creative.staples.com/dev/Tev/SQL_builder.asp"; to
(htmlOutput as string) form data
"myQuery=SELECT+*+FROM+WEB_SKU+WHERE+SKU+LIKE+'1%%%%%'&max
results=1000" replacing yes with progress


end tell



Thanks,
Graham
_______________________________________________
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: Briskets
  • Next by Date: Re: Reversing the lines in a file
  • Previous by thread: [ANN] Revised MacTech AS Studio article
  • Next by thread: Re: URL form data download into variable?
  • Index(es):
    • Date
    • Thread