Re: Safari 3 beta, tab object and AppleScript
Re: Safari 3 beta, tab object and AppleScript
- Subject: Re: Safari 3 beta, tab object and AppleScript
- From: deivy petrescu <email@hidden>
- Date: Tue, 12 Jun 2007 14:50:28 -0400
On Jun 12, 2007, at 14:34, Gary (Lists) wrote:
"Bill Briggs" wrote:
I also note that there is still no busy status indicator for a
loading window,
which is rather annoying. It would be exceedingly useful.
I did read ahead in the thread, to Phillip and Bill's exchange.
Bill, a few years ago on this list, we had a 'mostly working'
AppleScript+JavaScript version of this. If I recall correctly,
that was for
IE. JS provides a method to check loading status, and so that was
used.
If Safari's AS dictionary has improved to allow the execution of JS
code,
then that method would probably be very close to what you need.
I can dig up that IE implementation if it can't be retrieved from the
archive. (Of course, iCab is perhaps an even better solution.)
--
Gary
the code is:
do JavaScript "document.readyState" in document whatever
"complete" is what we are looking for.
By the way, there are significant improvements in safari 3.
It now reads xml files and works correctly with Fli4Mac plugins.
Those 2 I've noticed, probably there are other jewels.
Deivy
_______________________________________________
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