Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'An AppleScript to check complete page loading in Safari' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
An AppleScript to check complete page loading in Safari
Authored by: benleivian on Oct 17, '07 10:08:12AM

Nice. I was using the javascript solution before, but I like this one better.

I also added the following in the conditional:
or (name of static text 1 of group 1 of window 1 as text) begins with "Waiting"



[ Reply to This | # ]
An AppleScript to check complete page loading in Safari
Authored by: halfapie on Oct 18, '07 12:37:08PM

Thanks! I didn't realize that sometimes the page says "waiting"

Also, I should have mentioned that the "repeat" loop can be nested within the "tell safari" statement. It would probably use less resources to have it that way, although it probably doesn't matter that much.



[ Reply to This | # ]