Hi ALL,
I play online games, to write a click function, but in the game did not achieve the click function, the keyboard function can be used normally, what method can help me achieve the click function?
The instructions are as follows.
XButton1::
SendMode Play
Send {click X,Y}
return
The mouse will move to that coordinate but do not click on the action.
Is there a way to solve this situation?
The click command can not be executed in the game
-
- Posts: 22
- Joined: 12 Sep 2017, 03:13
Re: The click command can not be executed in the game
Try adding a delay between pressing the mouse button and releasing it.
Code: Select all
MyClick(x, y) {
Click, % x " " y " down"
Sleep, 50
Click, % x " " y "up"
}
Please excuse my spelling I am dyslexic.
-
- Posts: 22
- Joined: 12 Sep 2017, 03:13
Re: The click command can not be executed in the game
Hi,Capn Odin wrote:Try adding a delay between pressing the mouse button and releasing it.Code: Select all
MyClick(x, y) { Click, % x " " y " down" Sleep, 50 Click, % x " " y "up" }
I am adding a delay, the function is still unable to send to the game, probably because the game has nProtect GameGuard protection, is there a way to skip nProtect GameGuard's policy?
-
- Posts: 202
- Joined: 14 Aug 2016, 04:08
Re: The click command can not be executed in the game
#InstallKeybdHook
#InstallMouseHook
#UseHook On
....
Maybe?
#InstallMouseHook
#UseHook On
....
Maybe?
Who is online
Users browsing this forum: No registered users and 75 guests