Hello!
I wanna this "press 9" then "press left click" when i press the "q" key.
So normally i have to press 9 then clicking, and i want this two in one key. Thx.
Assign two command to one key. Topic is solved
Re: Assign tow command to one key.
Hallo,
try:
try:
Code: Select all
#InputLevel 1
q::9
#InputLevel 0
~9::LButton
Re: Assign tow command to one key.
Hello!
Thanks your answer!
I created this
and sometimes working, mostly not. 80% of the time not working. Same with yours.
And what if i set hol left button instead of click? Do yo know how to do it?
Thanks your answer!
I created this
Code: Select all
q::
send {9}
sleep 500
send {Lbutton}
And what if i set hol left button instead of click? Do yo know how to do it?
Last edited by joedf on 15 Apr 2021, 13:43, edited 1 time in total.
Reason: added [code] tags
Reason: added [code] tags
Re: Assign tow command to one key.
Sorry, i forget something. So i need 3 command. "press ESC" + "press 9" + "press left click" or "hold left click" (i wanna try both) .
I will really appreciate any help.
I will really appreciate any help.
How to assign 3 command to one button?
Code: Select all
q::
send {Esc}
send {9}
sleep 10
send {Click, Down}
Re: Assign tow command to one key.
perhaps:
Code: Select all
q::
While, GetKeyState("q", "P")
{
send {Esc}
send {9}
sleep 10
send {Click, Down}
}
send {Click, Up}
Return
Re: Assign tow command to one key.
Yeah, this is working fine, instead of when i hold the shift in the same time. Do u have any idea why?Rohwedder wrote: ↑20 Apr 2021, 06:42perhaps:Code: Select all
q:: While, GetKeyState("q", "P") { send {Esc} send {9} sleep 10 send {Click, Down} } send {Click, Up} Return
Re: Assign two command to one key. Topic is solved
Hotkey q:: triggers when the q key is pressed without modifier. Modifiers are Ctrl, Shift Win and Alt. Hotkey *q:: also triggers together with modifiers.
Code: Select all
*q::
While, GetKeyState("q", "P")
{
send {Blind}{Esc}
send {Blind}{9}
sleep 10
send {Blind}{Click, Down}
}
send {Blind}{Click, Up}
Return
Re: Assign two command to one key.
The previous worked better, this one never working while i hold shift , and sometimes i have to hold the shift in the game. Nvm, i gave up, thx so much for tried to help, i gave ok for both.Rohwedder wrote: ↑20 Apr 2021, 14:39Hotkey q:: triggers when the q key is pressed without modifier. Modifiers are Ctrl, Shift Win and Alt. Hotkey *q:: also triggers together with modifiers.Code: Select all
*q:: While, GetKeyState("q", "P") { send {Blind}{Esc} send {Blind}{9} sleep 10 send {Blind}{Click, Down} } send {Blind}{Click, Up} Return
Re: Assign two command to one key.
Then try it without blind mode!
Code: Select all
*q::
While, GetKeyState("q", "P")
{
send {Esc}
send {9}
sleep 10
send {Click, Down}
}
send {Click, Up}
Return
Re: Assign two command to one key.
Same. And what if click once? Can we try it?Rohwedder wrote: ↑21 Apr 2021, 09:41Then try it without blind mode!Code: Select all
*q:: While, GetKeyState("q", "P") { send {Esc} send {9} sleep 10 send {Click, Down} } send {Click, Up} Return
Who is online
Users browsing this forum: cjsmile999 and 357 guests