summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter2020-01-30 13:47:05 +0000
committerPeter2020-01-30 13:47:05 +0000
commit38b96184f4a33f61b42fe17fface3f3fb3fbfdee (patch)
tree2753ebe983ed56271f69ca26c65ee3dac4cb772a
parent0bf0b92f9df73d185bfb646800aca0356c751735 (diff)
downloadahka-38b96184f4a33f61b42fe17fface3f3fb3fbfdee.tar.gz
ahka-38b96184f4a33f61b42fe17fface3f3fb3fbfdee.tar.bz2
ahka-38b96184f4a33f61b42fe17fface3f3fb3fbfdee.zip
Add NEC completions
-rw-r--r--ahk-assistant.ahk12
-rw-r--r--variables.sample.ahk6
2 files changed, 17 insertions, 1 deletions
diff --git a/ahk-assistant.ahk b/ahk-assistant.ahk
index ea4a1a9..e158052 100644
--- a/ahk-assistant.ahk
+++ b/ahk-assistant.ahk
@@ -105,6 +105,18 @@ Insert::appendClipboard()
!Up::Send {Backspace}
#IfWinActive
+#IfWinActive ahk_exe AppMgrEX.exe ; NEC SV9100 programming tool
+ global necUsername
+ global necPassword
+ global necPort
+ :*?:__login::
+ Send tech{Tab}12345678{Enter}
+ Return
+ :*?:__cred::
+ Send {CtrlDown}v{CtrlUp}{Tab}{Enter}{Tab}%necPort%{Tab 2}{Enter}{Tab}%necUsername%{tab}%necPassword%
+ Return
+#IfWinActive
+
#IfWinActive ahk_class SciCalc ; windows xp calc
CapsLock::Send !{F4} ; quit
#IfWinActive
diff --git a/variables.sample.ahk b/variables.sample.ahk
index 6776193..6bc8d84 100644
--- a/variables.sample.ahk
+++ b/variables.sample.ahk
@@ -27,4 +27,8 @@ remoteMAC := ""
crmSearch := ""
sshHost := ""
-sshPort := "" \ No newline at end of file
+sshPort := ""
+
+necUsername := ""
+necPassword := ""
+necPort := ""