I want to configure autohotkey in the following way:
Capslock::Esc
Capslock & C::
Run, www.stackoverflow.com
return
So if I just press Capslock
it treated like if I would have pressed Esc
. If I on the other hand press both Capslock
and c
, it call the function that opens the browser with www.stackoverflow.com
.
At the moment the remapped seems to break when I have the other function in the script. When I press capslock now it toggles it for a short time, so the key alone does effectively nothing. I don't get my Esc
.
Pressing capslocks + A on the other hand activates capslock and produces a real A.
Is there an easy way to fix this?