I'm fairly new to Autohotkey, but found that the suggested solution for determining if a webpage has loaded doesn't seem to work with Firefox. I came up with this workaround which seems to work for me (Assuming FF is your default browser):
Code:
FFLoad(site,title)
{
run, %site%
WinWait, %title%
SendInput, ^u
WinWait, Source of:
SendInput, ^w
return
}
Supposing we're loading cnn.com:
Code:
FFLoad("http://www.cnn.com","CNN.com - Breaking News")
Basically we run the web address, then wait for the Title to change which won't happen until it's gotten a title from the HTML source. Then we hit CTRL-U which brings up the 'View Source' window. This window's title will change to "Source of: ...", but -not until- the source file is fully downloaded. We then hit CTRL-W to close that Window and find a fully loaded page (However the images may not all have been downloaded, but this shouldn't matter for the most part if you're navigating without the mouse.)
~JJM