summaryrefslogtreecommitdiffstats
path: root/ahk-assistant.ahk
diff options
context:
space:
mode:
authorbreadcat2021-08-31 10:52:29 +0100
committerbreadcat2021-08-31 10:52:29 +0100
commitb96d67d43c3a62e5f321f84a823661196b2e7333 (patch)
tree5ad75bfbc8238d0cdcdcc1a15d9dc5b9d592bf98 /ahk-assistant.ahk
parentad254cfc568df05e59d08c0bfe5cd70d04a45a2c (diff)
downloadahka-b96d67d43c3a62e5f321f84a823661196b2e7333.tar.gz
ahka-b96d67d43c3a62e5f321f84a823661196b2e7333.tar.bz2
ahka-b96d67d43c3a62e5f321f84a823661196b2e7333.zip
Improve NEC programming tool function
Diffstat (limited to 'ahk-assistant.ahk')
-rw-r--r--ahk-assistant.ahk8
1 files changed, 6 insertions, 2 deletions
diff --git a/ahk-assistant.ahk b/ahk-assistant.ahk
index 4751e62..e0fd640 100644
--- a/ahk-assistant.ahk
+++ b/ahk-assistant.ahk
@@ -122,8 +122,12 @@ Insert::appendClipboard()
:*?:__login::
Send tech{Tab}12345678{Enter}
Return
- :*?:__cred::
- Send {CtrlDown}v{CtrlUp}{Tab}{Enter}{Tab}%necPort%{Tab 2}{Enter}{Tab}%necUsername%{Tab}%necPassword%{Tab}{Enter}{Sleep 750}{Enter}{Sleep 3000}{F6}
+ Alt & Enter:: ; connect, paste IP, enter credentials, connect, download
+ Send {F5}{Sleep 250}{Tab 5}{Sleep 250}
+ pasteClipboard()
+ Send {Tab}{Enter}{Tab}%necPort%{Tab 2}{Enter}{Tab}%necUsername%{Tab}%necPassword%{Tab}{Enter}{Sleep 250}{Enter}
+ Sleep 5000 ; required for some reason, download window won't open unless split
+ Send {F6}{Sleep 250}{Tab 4}{Enter}
Return
#If