by scripthelp - 11/27/12 1:14 PM
I have a script for autohotkey that does a mouse click wherever i leave the cursor, then after 3 more seconds it sends the cursor to coordinates and clicks again. The point is to bring the mouse to a prompt button that pops up after the first click and then clicks the "ok' button on the prompt. It works perfect except for the coordinates. I used a couple different coordinates finders including the one that comes with autohotkey, "windowspy". But the problem is they aren't giving me the correct coordinates and it also seems to change depending on the web page i'm one. So what i thought to do is use screen coordinates instead of the default which appears to be whatever window is active. This way it would click at the same place on the screen no matter if theres a browser open or not, but 1-i can't find a way to determine the coordinates of the desktop, and 2-even if i do what syntax could i use in a AHK script to tell it to use screen coordinates? I tried what i found in the help file but that didn't work. And i tried asking in the AHK forum but i think they may have decided not to answer me because i already asked many questions to get to this poitn and they may have felt i'm not trying to help myself. But i AM, and in fact read thru tons of the help files and nothing worked. So i'm asking here in hopes someone can help. Thanks.