• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Detecting when URL has been loaded in Safari???
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Detecting when URL has been loaded in Safari???
      • From: Dave <email@hidden>
References: 
 >Detecting when URL has been loaded in Safari??? (From: Dave <email@hidden>)
 >Re: Detecting when URL has been loaded in Safari??? (From: "Mark J. Reed" <email@hidden>)

  • Prev by Date: Re: AS Application
  • Next by Date: Re: Detecting when URL has been loaded in Safari???
  • Previous by thread: Re: Detecting when URL has been loaded in Safari???
  • Next by thread: Re: Detecting when URL has been loaded in Safari???
  • Index(es):
    • Date
    • Thread