2

I has some code as below

    DetectHiddenWindows On
SetControlDelay -1
WinHide, Form1

Loop
{
sleep, 1000
ControlClick, x1700 y160, Form1
}

^p:: Pause
^o:: WinShow, Form1

I expect this will bring me keep on clicking Form1 at background without activate the Form1 window, but it could only work when I activate it, once i Minimize it, it never click at all... Could someone professional help me on this??????

NewBieS
  • 147
  • 2
  • 10
  • Try using the Client coordinates (not the Relative ones) shown by Windows Spy. – user3419297 Nov 23 '15 at 04:49
  • i did already try with 3 coordinates as well (absolute, relative, client).. but it still the same things :( – NewBieS Nov 23 '15 at 05:43
  • Add `pos` option as per [the documentation](https://autohotkey.com/docs/commands/ControlClick.htm): `ControlClick, x1700 y160, Form1,,,, Pos`. – wOxxOm Nov 23 '15 at 10:01

0 Answers0