• 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: I need to allow a web page to fully load before saving it with my script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: I need to allow a web page to fully load before saving it with my script


  • Subject: Re: I need to allow a web page to fully load before saving it with my script
  • From: Thomas Fischer <email@hidden>
  • Date: Wed, 15 Sep 2010 09:05:18 +0200

Hi Jeff,

it might be easier to use the curl command to get the data you want:

set myData to do shell script ("curl " & quote & myURL & quote)

curl usually takes care of all the intermediate actions. If you need additional particular data exchanged, there are a lot of parameters (check "man curl"), including the processing of cookies.

Cheers
Thomas

Am 15.09.2010 um 08:16 schrieb Jeff Porrello:

I need to allow a web page to fully load before saving it with my script.

I have written a script which automatically downloads Knowledge Base documents from Apple's Support web site (I am a technical information hound). I use the "Open Location" command to open a particular web page. I need the page to fully load before issuing the "Save As..." command. Does anyone know how to write this portion of a script?

Any help would be GREATLY appreciated!

Thank You!


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >I need to allow a web page to fully load before saving it with my script (From: Jeff Porrello <email@hidden>)

  • Prev by Date: Re: set vs copy?
  • Next by Date: Re: set vs copy?
  • Previous by thread: Re: I need to allow a web page to fully load before saving it with my script
  • Next by thread: Re: I need to allow a web page to fully load before saving it with my script
  • Index(es):
    • Date
    • Thread