From 5868a78a3226ecc61ef458ff00532b41f40ac265 Mon Sep 17 00:00:00 2001 From: ardaS37 Date: Fri, 28 Aug 2026 16:42:44 +0300 Subject: [PATCH] Fix Monitor crash when no devices are detected --- AHK v2/Monitor.ahk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/AHK v2/Monitor.ahk b/AHK v2/Monitor.ahk index a5c48bd..770f67f 100644 --- a/AHK v2/Monitor.ahk +++ b/AHK v2/Monitor.ahk @@ -89,6 +89,8 @@ Loop 2 { monitorGui.Add("Text", "x" columnX[devType] " y5 w" totalWidths[devType] " Center", columnTitles[devType]) } +if !IsSet(lowest) + lowest := 0 lowest += 2 * MarginY ; Options