From 84a125bfdf41dfcb0262cb67b6039534c2f55bf1 Mon Sep 17 00:00:00 2001 From: breadcat Date: Thu, 26 Nov 2020 12:37:34 +0000 Subject: Add tray option to edit variable file --- ahk-assistant.ahk | 7 +++++++ 1 file changed, 7 insertions(+) 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: { -- cgit v1.2.3