I am currently trying Fastkeys, and I have a little problem. To put some context, on system startup I run the following external AutoHotkey script (by a shortcut on my Startup folder):
Code: Select all
CapsOn=false
*Capslock::
;suspend to prevent calling esc
Suspend on
Send, {ESC}
Suspend off
return
!Capslock::
;use global variable to keep track of state
if CapsOn = false
{
CapsOn = true
SetCapsLockState, on
}
else
{
CapsOn = false
SetCapsLockState, off
}
My problem is that Fastkey autocomplete menus do not intercept this binding, so pressing Caps Lock to dismiss them does not work. So if I type ,op<Caps Lock>, the dialog remains and I have to move my hands to the unhandy Escape key on the top left.
I would assume that this happens because Fastkeys intercepts the keystroke before the AutoHotkey script. So my question is whether it is possible to integrate this keybinding within FastKeys, or if there is a known way to fix this.
Thank you!