More precisely, it does not work if you hold down CapsLock or any other key. In this case, it is not necessary to press f1, you can press, for example, the left arrow.
Code: Select all
~CapsLock Up:: ToolTip % A_ThisHotkey " " A_TickCount
~CapsLock & f1:: ToolTip % A_ThisHotkey " " A_TickCount