From 4e0da5ea43b3c1098d00cd202d5741fb4a5c45ad Mon Sep 17 00:00:00 2001 From: MatejGolian <11446675+MatejGolian@users.noreply.github.com> Date: Sat, 26 Oct 2024 06:52:46 +0200 Subject: [PATCH] Update Sforzando.ahk --- Includes/Overlays/Sforzando.ahk | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Includes/Overlays/Sforzando.ahk b/Includes/Overlays/Sforzando.ahk index b8393d3..5b1b330 100644 --- a/Includes/Overlays/Sforzando.ahk +++ b/Includes/Overlays/Sforzando.ahk @@ -9,11 +9,9 @@ Class Sforzando { Static CheckPlugin(*) { Thread "NoTimers" - Try { - PluginInstance := Plugin.GetInstance(GetCurrentControlClass()) - If PluginInstance Is Plugin And PluginInstance.Name = "sforzando" - Return True - } + PluginInstance := Plugin.GetInstance(GetCurrentControlClass()) + If PluginInstance Is Plugin And PluginInstance.Name = "sforzando" + Return True UIAElement := GetUIAElement("15,1") Try If not UIAElement = False And UIAElement.Name = "PlogueXMLGUI"