From ab5bbcf591045e761fcaa934b1f158bed2b4b48b Mon Sep 17 00:00:00 2001 From: Justin Clareburt Date: Sat, 26 Dec 2020 16:58:08 +1000 Subject: [PATCH] v1.4.1 - Fixed bug when no icon available --- Window Move HotKeys.ahk => AltWin-HotKeys.ahk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) rename Window Move HotKeys.ahk => AltWin-HotKeys.ahk (99%) diff --git a/Window Move HotKeys.ahk b/AltWin-HotKeys.ahk similarity index 99% rename from Window Move HotKeys.ahk rename to AltWin-HotKeys.ahk index 9cb0ca5..240d56e 100644 --- a/Window Move HotKeys.ahk +++ b/AltWin-HotKeys.ahk @@ -68,8 +68,10 @@ Return ; End initialization ; =========================================== InitializeIcon() { - ; Set the System tray icon - Menu, Tray, Icon, AltWinHotKeys.ico + ; Set the System tray icon (should sit next to the AHK file) + if FileExist("AltWinHotKeys.ico") { + Menu, Tray, Icon, AltWinHotKeys.ico + } } InitializeMenu() {