Re: Applescript + Safari to open URL
Re: Applescript + Safari to open URL
- Subject: Re: Applescript + Safari to open URL
- From: Philip Aker <email@hidden>
- Date: Tue, 7 Jul 2009 02:56:57 -0700
On 2009-07-07, at 02:45:34, Satyam Satyanarayana wrote: I am looking for some AppleScript to open an URL like " www.yahoo.com" in Safari. I am able to do it.
Yes, in AppleScript, something like:
tell application "Safari" to open location "http://www.apple.com"
But how to check from AppleScript whether the page is fully shown or still loading etc? So that accordingly I can proceed further?
I think this can be handled by a 'do _javascript_' message (google for _javascript_ "readyState"). If that is the case, then it might be better to instruct Safari to open the specified URL in the same message. echo email@hidden@nl | tr a-z@. p-za-o.@ Democracy: Two wolves and a sheep voting on lunch.
|
_______________________________________________
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