You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
360 B
Plaintext
22 lines
360 B
Plaintext
6 years ago
|
#SingleInstance force
|
||
|
#Persistent
|
||
|
#include Lib\AutoHotInterception.ahk
|
||
|
|
||
6 years ago
|
AHI := new AutoHotInterception()
|
||
|
id1 := AHI.GetKeyboardId(0x04F2, 0x0112, 1)
|
||
|
cm1 := AHI.CreateContextManager(id1)
|
||
6 years ago
|
return
|
||
|
|
||
6 years ago
|
#if cm1.IsActive
|
||
6 years ago
|
::aaa::JACKPOT
|
||
|
1::
|
||
|
ToolTip % "KEY DOWN EVENT @ " A_TickCount
|
||
|
return
|
||
|
|
||
|
1 up::
|
||
|
ToolTip % "KEY UP EVENT @ " A_TickCount
|
||
|
return
|
||
|
#if
|
||
|
|
||
|
^Esc::
|
||
|
ExitApp
|