Restricted mouse move specific windows or program

Ask gaming related questions (AHK v1.1 and older)
Willy ly
Posts: 9
Joined: 17 Jul 2017, 16:53

Restricted mouse move specific windows or program

23 Jul 2017, 15:34

Im interested in a creation of a script that will allow you to move the cursor ONLY in the indicated game/program. So if i move the mouse to an extreme, the course will be stopped on the edge of the game/program.

If this can be done to restrict it to a specific area into the game/program, even better
Thanks if anyone helps!! :)
Rohwedder
Posts: 7630
Joined: 04 Jun 2014, 08:33
Location: Germany

Re: Restricted mouse move specific windows or program

24 Jul 2017, 11:58

Hallo,
use the ClipCursor Windows API function
https://autohotkey.com/boards/viewtopic.php?t=6700
Willy ly
Posts: 9
Joined: 17 Jul 2017, 16:53

Re: Restricted mouse move specific windows or program

24 Jul 2017, 16:27

Thanks, but do you know if is possible to restrict it to a specific game? example, the mouse will be only moved in this game, so if i move the mouse to an extreme, the course will be stopped on the edge of the specific game.

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 126 guests