I'm trying to make a script that will click randomly in a specified given area by x and y coords. I've had no trouble with it so far and it's been working fine doing what I've wanted it to. But for some odd reason it will now refuse to work in the area set.
Code is here-
Code: Select all
F2::
Coordmode, Mouse, Screen
Random, a, 450,340
Random, b, 460,350
send {Click, right, %a%, %b%}