Hotkey bug (?)

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
WilNot
Posts: 25
Joined: 14 Sep 2022, 08:00

Hotkey bug (?)

Post by WilNot » 26 Nov 2022, 04:27

Hello everyone, just wondering why my script holds the key bind when I use "RAlt & F::V"? When I do it I am always forced to press V to stop it.

There is also an issue where holding space and then using "RCtrl & Space::7" makes it so that it keeps holding space even if I am not holding it, maybe these issues are related to each other?

User avatar
mikeyww
Posts: 26760
Joined: 09 Sep 2014, 18:38

Re: Hotkey bug (?)

Post by mikeyww » 26 Nov 2022, 05:36

Hi,

I would use this sort of format.

Code: Select all

>!f::Send v
>^Space::Send 7
Explained: Custom combinations
Note: For combinations with standard modifier keys, it is usually better to use the standard syntax. For example, use <+s:: rather than LShift & s::.

WilNot
Posts: 25
Joined: 14 Sep 2022, 08:00

Re: Hotkey bug (?)

Post by WilNot » 26 Nov 2022, 10:30

Thanks!
What about key combinations that are more than 2 keys long like this?

>^+Up+Space::7

User avatar
mikeyww
Posts: 26760
Joined: 09 Sep 2014, 18:38

Re: Hotkey bug (?)

Post by mikeyww » 26 Nov 2022, 10:36

Code: Select all

#If GetKeyState("RCtrl", "P") & GetKeyState("Shift", "P")
Up & Space::Send 7
#If

Post Reply

Return to “Ask for Help (v1)”