Code: Select all
^m::SetTimer, ^n, Off
^n::
Click
Random, rnd, 33421, 68754
SetTimer, ^n, %rnd%
Return
Code: Select all
^m::SetTimer, ^n, Off
^n::
Click
Random, rnd, 33421, 68754
SetTimer, ^n, %rnd%
Return
Code: Select all
^m::SetTimer, ^n, Off
^n::
Random, x, -10, 10
Random, y, -10, 10
MouseMove, x, y, 0, R
Click
MouseMove, -x, -y, 0, R
Random, rnd, 33421, 68754
SetTimer, ^n, %rnd%
Return
Thank you for this, I looked over the script but where does it incorporate pressing the "H" key before it clicks as well? So in the game it would need to press the hotkey "H" and then click with the mouse in that randomized area and then repeat the action again, press "H" then click in area, again and again. Thank you for trying to help me out though!Rohwedder wrote: ↑24 Jan 2023, 10:34Hallo,
try:Code: Select all
^m::SetTimer, ^n, Off ^n:: Random, x, -10, 10 Random, y, -10, 10 MouseMove, x, y, 0, R Click MouseMove, -x, -y, 0, R Random, rnd, 33421, 68754 SetTimer, ^n, %rnd% Return
Do you know what it would be with pressing that key as well?Fun54321 wrote: ↑25 Jan 2023, 12:06Thank you for this, I looked over the script but where does it incorporate pressing the "H" key before it clicks as well? So in the game it would need to press the hotkey "H" and then click with the mouse in that randomized area and then repeat the action again, press "H" then click in area, again and again. Thank you for trying to help me out though!Rohwedder wrote: ↑24 Jan 2023, 10:34Hallo,
try:Code: Select all
^m::SetTimer, ^n, Off ^n:: Random, x, -10, 10 Random, y, -10, 10 MouseMove, x, y, 0, R Click MouseMove, -x, -y, 0, R Random, rnd, 33421, 68754 SetTimer, ^n, %rnd% Return