0
votes

Anyone knows why this wont work in autohotkey?:

~RButton & ~LButton & ~t::

It says its an invalid hotkey. But why?

Thanks.

1

1 Answers

2
votes

Combinations of three or more keys are not supported (https://autohotkey.com/docs/Hotkeys.htm#combo).

Try this:

#NoEnv
#SingleInstance Force
#InstallKeybdHook
#InstallMouseHook
#UseHook

#if GetKeyState("RButton","P") && GetKeyState("LButton","P") 

    t:: 
    z:: 
    k:: 
    l::
    u::
        MsgBox, RButton + LButton + optional key
    return

#if