ThisHotKey not implemented
Issue #6
closed
From ThisHotKey docs page, modified slightly:
#n::MsgBox(ThisHotkey) ; Reports #n
Works in 2.0-beta.6 and 2.0-beta.7, fails in Keysharp. No errors in keyview or upon running, but no MsgBox displays.
Docs state that “When a hotkey is triggered, the name of the hotkey is passed as its first parameter named ThisHotkey (which excludes the trailing colons).“ It appears that ThisHotkey (as opposed to A_ThisHotKey) is not implemented.
Workaround:
#n::MsgBox(A_ThisHotkey) ; Reports #n
Comments (4)
-
repo owner -
reporter I believe I must have used an older version. I can’t reproduce it either.
-
reporter Not sure how to mark an issue as closed, but my ThisHotKey issue was probably a non-issue.
-
repo owner - changed status to closed
- Log in to comment
Cannot reproduce.
Shows “#n” just fine for me.
Standby for a commit, I may have inadvertently fixed it.