ControlClick

Ask gaming related questions (AHK v1.1 and older)
Performance
Posts: 2
Joined: 10 May 2024, 16:51

ControlClick

10 May 2024, 16:55

how do i add two ControlClick where they both hold Left and Right mouse button? i dont know how to put Right and Left, because i doing it wrong,and how do i stop the script pressing F8?please give a full code because i prorably not gonna understand, thank you very much

Code: Select all

F8::
ControlClick,, ahk_exe java.exe,,,,D
Rohwedder
Posts: 7718
Joined: 04 Jun 2014, 08:33
Location: Germany

Re: ControlClick

11 May 2024, 10:42

Hallo,
try:

Code: Select all

F8::
IF Down := !Down { ; toggles Left and Right mouse button down/up
	ControlClick,, ahk_exe java.exe,, Left,, D
	ControlClick,, ahk_exe java.exe,, Right,, D
} Else {
	ControlClick,, ahk_exe java.exe,, Left,, U
	ControlClick,, ahk_exe java.exe,, Right,, U
} Return

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 29 guests