Code: Select all
HotIfWinActive("ahk_class Notepad")
hotkey("1",(p*)=>msgbox(1)) ;TODO key "1" can't stop InputHook
ih := InputHook()
ih.VisibleNonText := false
ih.VisibleText := false
ih.KeyOpt("{All}", "E")
tooltip("1111111111")
ih.start()
ih.wait()
tooltip
Am I did something wrong??
thanks a lot!!