• 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
Re: curl equivalence
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >curl equivalence (From: "John R." <email@hidden>)
 >Re: curl equivalence (From: kai <email@hidden>)

  • Prev by Date: Re: display dialog with icon bug
  • Next by Date: Re: Producing Unicode-only characters
  • Previous by thread: Re: curl equivalence
  • Next by thread: Re: curl equivalence
  • Index(es):
    • Date
    • Thread