RE: URL form data download into variable?
RE: URL form data download into variable?
- Subject: RE: URL form data download into variable?
- From: "Sprague, Graham" <email@hidden>
- Date: Fri, 10 May 2002 13:13:55 -0400
Sorry, should have said I'm using 9.2.2 not X
>
----------
>
From: Kazuyuki Saito
>
Sent: Friday, May 10, 2002 12:00 PM
>
To: Sprague, Graham
>
Subject: Re: URL form data download into variable?
>
>
Plese try this one.
>
>
set x to (do shell script ("curl -d
>
myQuery=SELECT+*+FROM+WEB_SKU+WHERE+SKU+LIKE+'1%%%%%'
>
-d max
>
results=1000 http://creative.staples.com/dev/Tev/SQL_builder.asp")) as
>
string
>
>
On 2002.05.10, at 23:35, Sprague, Graham wrote:
>
>
> 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.
>
>
>
>
>
--
>
Kazuyuki Saito
>
mailto:email@hidden
_______________________________________________
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.