summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbreadcat2020-11-26 12:37:34 +0000
committerbreadcat2020-11-26 12:37:34 +0000
commit84a125bfdf41dfcb0262cb67b6039534c2f55bf1 (patch)
tree7d34a3618e06451957d99bad838e419de1211e8d
parentb2b672a229f8ed2c70ead26959a73e700607f42f (diff)
downloadahka-84a125bfdf41dfcb0262cb67b6039534c2f55bf1.tar.gz
ahka-84a125bfdf41dfcb0262cb67b6039534c2f55bf1.tar.bz2
ahka-84a125bfdf41dfcb0262cb67b6039534c2f55bf1.zip
Add tray option to edit variable file
-rw-r--r--ahk-assistant.ahk7
1 files changed, 7 insertions, 0 deletions
diff --git a/ahk-assistant.ahk b/ahk-assistant.ahk
index bee34a2..cf3ef67 100644
--- a/ahk-assistant.ahk
+++ b/ahk-assistant.ahk
@@ -15,6 +15,7 @@ SetScrollLockState, AlwaysOff
SetNumLockState, AlwaysOn
SetTimer, changeReload, 1000
Menu, Tray, Icon, %A_ScriptDir%\%A_ScriptName%.ico ; tray icon
+menu, tray, add, Edit variable file, scriptEditVariables ; autorun tray indicator
Menu, tray, add ; seperator for menu
menu, tray, add, Autorun Script, scriptAutorun ; autorun tray indicator
#Include, *i %A_ScriptDir%\variables.ahk ; include physical and ip address completions, only included if exists. See .gitignore for details
@@ -792,6 +793,12 @@ kdeResize() {
Return
}
+scriptEditVariables:
+ {
+ Run notepad "%A_ScriptDir%\variables.ahk"
+ Return
+ }
+
; autorun script section in tray menu
scriptAutorun:
{