eg:
Code: Select all
#NoEnv
#SingleInstance Force
#Persistent
;~ #Include .\Test.ahk
;~ #Include ..\lib\System\RemoveToolTip.ahk
#IfWinActive, ahk_exe ShareX.exe
~a::
i := 1 ; whatever code not important
return
#IfWinActive
a::
;~ displayAhkOutputWindow(A_ThisHotkey)
ToolTip, % A_ThisHotkey ; >> prints `~a` instead of `a`
return
-- Watch the code: **ToolTip, % A_ThisHotkey ; >> prints `~a` instead of `a`**
Is this a bug?