Macworld Forums

Macworld Forums: QuicKeys 4 - Macworld Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

QuicKeys 4

#1 User is offline   Macworld 

  • Story Poster
  • Group: MW Bot
  • Posts: 34,402
  • Joined: 30-November 07

Posted 07 May 2010 - 05:46 AM

Post your comments for QuicKeys 4 here

#2 User is offline   leicaman 

  • Veteran
  • PipPipPip
  • Group: Members
  • Posts: 2,983
  • Joined: 04-December 03

Posted 07 May 2010 - 06:17 AM

I'm surprised it took so long to review it. It's been out quite a while now. Be that as it may, glad to see the review.

Here's a tip: One Applescript command I find VERY handy is to call up a Safari Javascript to test to see if a page is done loading. Saves me a lot of hassle of finding a pause that is long enough in every circumstance.

tell application "Safari"
delay 1
-- use Safari's 'do JavaScript' to check a page's status
if (do JavaScript "document.readyState" in document 1) is "complete" then exit repeat
delay 1 -- wait a second before checking again
end repeat
delay 1
end tell

Nothing in all the world is more dangerous than sincere ignorance and conscientious stupidity. - Martin Luther King, Jr.

#3 User is offline   Strawtag 

  • Member
  • Group: Macworld Insiders
  • Posts: 170
  • Joined: 21-September 06

Posted 07 May 2010 - 12:55 PM

If you have QuicKeys, you don't need to run a javascript to to check if a page is done loading, just add a Wait step for the Stop command in the View menu. When it's no longer available, the page is loaded.

#4 User is offline   n781lc 

  • Member
  • Group: Macworld Insiders
  • Posts: 199
  • Joined: 29-December 07

Posted 10 May 2010 - 08:09 AM

Would it be unfair to suggest this seems to be a Mac version of DOS "batch file" ..??

Share this topic:

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users