Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Safari 3 beta, tab object and AppleScript




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:
http://lists.apple.com/mailman/options/applescript-users/email@hidden
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
References: 
 >Re: Safari 3 beta, tab object and AppleScript (From: "Gary (Lists)" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.