Using LButton with ControlSend

Ask gaming related questions (AHK v1.1 and older)
User avatar
fx_spencer
Posts: 6
Joined: 06 Dec 2021, 07:45
Contact:

Using LButton with ControlSend

06 Dec 2021, 10:46

Hello again!
I want to know how can I use "LButton" with ControlSend.

Code: Select all

F1::
Send, {LButton}
Send, {LButton}
return
Works perfectly! But...

Code: Select all

F1::
ControlSend,, {LButton}, ahk_exe javaw.exe ; minecraft proccess
ControlSend,, {LButton}, ahk_exe javaw.exe
return
Doesn't. Is there any way to send a click to a specific proccess / window without changing it's game settings? (like changing the click button on the game to another button that isnt a mouse button)
Thanks.
User avatar
mikeyww
Posts: 26972
Joined: 09 Sep 2014, 18:38

Re: Using LButton with ControlSend

06 Dec 2021, 11:13

Some windows do not respond to ControlSend. You could experiment with ControlClick and ControlFocus in case they help. You might also search the forum for ways to send to Java windows.

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 163 guests