ahka

Assorted ease-of-use and functionality tools using AutoHotkey.
Log | Files | Refs

commit 519c76e4a4450d4a526066ecb3a7e5645cf34b04
parent 4b8f6594ee6dcbe15e6c612f84a2a75c6f0bf7c3
Author: Peter <peter@minskio.co.uk>
Date:   Tue,  4 Feb 2020 16:46:29 +0000

Improve NEC hotkeys

Diffstat:
Mahk-assistant.ahk | 8+++++---
1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/ahk-assistant.ahk b/ahk-assistant.ahk @@ -105,7 +105,7 @@ Insert::appendClipboard() !Up::Send {Backspace} #IfWinActive -#IfWinActive ahk_exe AppMgrEX.exe ; NEC SV9100 programming tool +#If WinActive("ahk_exe AppMgrEX.exe") or WinActive("ahk_exe AppMgr.exe") ; NEC programming tools global necUsername global necPassword global necPort @@ -113,9 +113,11 @@ Insert::appendClipboard() Send tech{Tab}12345678{Enter} Return :*?:__cred:: - Send {CtrlDown}v{CtrlUp}{Tab}{Enter}{Tab}%necPort%{Tab 2}{Enter}{Tab}%necUsername%{tab}%necPassword% + Send {CtrlDown}v{CtrlUp}{Tab}{Enter}{Tab}%necPort%{Tab 2}{Enter}{Tab}%necUsername%{Tab}%necPassword%{Tab}{Enter}{Sleep 750}{Enter} + Sleep, 3000 + Msgbox, Don't forget to download! Return -#IfWinActive +#If #IfWinActive ahk_class SciCalc ; windows xp calc CapsLock::Send !{F4} ; quit