I have several scripts that load a website and interact with it in some way. Because it was the easiest-to-code solution, I'm using "sleep" for the script to wait until the site has loaded. That sucks though, because load times depend on Windows and server load and so I either have to use really long "sleep" times (zzzZzZzz...) or short "sleep" times that then cause the script to fail because the site hasn't yet fully loaded.
I'd love to be able to use a solution that detects if a given pixel has color #whatever (I imagine something like "PixelGetColor, 500, 600" and "IfPixelColor = ..."). I googled around and there doesn't seem to be a good solution for this yet. Or maybe Chrome can report back to AHK somehow that it has finished loading that tab?