Re: Detecting when URL has been loaded in Safari???
Re: Detecting when URL has been loaded in Safari???
- Subject: Re: Detecting when URL has been loaded in Safari???
- From: Wayne Melrose <email@hidden>
- Date: Tue, 29 Sep 2009 14:29:02 +0200
On 29. sep. 2009, at 14.25, Mark J. Reed wrote:
How are you scanning? If the problem is what you think it is, then
simply loop until the URL of the new window returns what you just set
it to, with a small delay of course.
I've been following this thread, and it's not just a matter of looping
with a delay, I did that just this week in fact. And what I found is
that it CAN return a value before the page is finished loading. So
your result can actually be incomplete even though applescript has got
a response.
My fix was a little dirty, although it was just a simple job, and I
found a workaround.
But a more defined way of doing it would be great. I guess the
javascript is the best answer?
Wayne
_______________________________________________
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