jaweb Posted August 12, 2010 Posted August 12, 2010 I've manage to write an entire script simply by searching but I now need specific answers. I have MouseClick("left",Random(0,@DesktopWidth,1),Random(0,@DesktopHeight,1)) but I want it to randomly click within a certain area of the screen (an inch within the screen borders), or preferably, only within a application. Thanx
StandardUser Posted August 12, 2010 Posted August 12, 2010 You can get the aplications window position with WinGetPos() and set Random() min max values within that interval.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now