Re: curl equivalence
Re: curl equivalence
- Subject: Re: curl equivalence
- From: kai <email@hidden>
- Date: Wed, 26 Oct 2005 01:43:14 +0100
On 26 Oct 2005, at 00:48, I wrote:
Doesn't this do about the same thing, John?
I meant to include a couple of additional checks:
----------
to GetHTML from myURL
tell application "Safari"
if exists document 1 then
set document 1's URL to myURL
else
make new document with properties {URL:myURL}
end if
tell document 1 to repeat 40 times
if (exists URL) and URL is myURL then return source
delay 0.5
end repeat
end tell
error "Oops - problem accessing internet..."
end GetHTML
GetHTML from "http://www.apple.com/"
----------
---
kai
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden