Simple text commands are working though, such as
Code: Select all
^NumpadMult::
SendInput Hello.{Enter}
sleep 500
return
What I need this to do is to have it click in a specific place (at specific coords) when I hit the key (numpad or something else). If ControlClick doesn't work for this, is there a different way of doing it? Maybe with the click command itself?
Worst case scenario, I'd be satisfied even if I select the specific window where I want the click to go manually, not from the script, and the command would simply click in a specific place of the screen, regardless of what window I have active etc. That would work for me too, if there's no other way.
Later edit:
I combined "MouseClick" with "WinActivate" and it worked. Thanks for you answers guys!
For anyone that's curious, this is what I ended up with that worked:
Code: Select all
NumpadMult::
WinActivate, VM-Name,,,
MouseClick, , 109,823, 2, 0,,
sleep 200
return
Thanks again.