commit 84a125bfdf41dfcb0262cb67b6039534c2f55bf1
parent b2b672a229f8ed2c70ead26959a73e700607f42f
Author: breadcat <peter@minskio.co.uk>
Date: Thu, 26 Nov 2020 12:37:34 +0000
Add tray option to edit variable file
Diffstat:
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git 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:
{