Keywait two options

Ask gaming related questions (AHK v1.1 and older)
Gonzalo94
Posts: 40
Joined: 17 Jul 2017, 12:56

Keywait two options

19 May 2018, 10:58

Hello community i have a short question, its is possible to add a second option of keywait?
Like (keywait for left click OR f12)
i search and search and found nothing

there is my code

Code: Select all

f9::
BlockInput, MouseMove
MouseMove, 633,  459
KeyWait, LButton, D
BlockInput, MouseMoveOff
Return
IF ANYONE CAN HELP i will be very very gratefull!
Rohwedder
Posts: 7610
Joined: 04 Jun 2014, 08:33
Location: Germany

Re: Keywait two options

21 May 2018, 02:16

Hallo,
try:

Code: Select all

~LButton::vkFF
~F12::vkFF
f9::
BlockInput, MouseMove
MouseMove, 633,  459
KeyWait, vkFF, D L
BlockInput, MouseMoveOff
Return

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 53 guests