From f3d1c96c42db539d3bcb8a60616900f96e07f62d Mon Sep 17 00:00:00 2001 From: AardCrowley Date: Fri, 8 Mar 2024 10:14:45 -0500 Subject: [PATCH] Update Aardwolf_Clock.xml Added show/hide functions --- Aardwolf_Clock V2/Aardwolf_Clock.xml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Aardwolf_Clock V2/Aardwolf_Clock.xml b/Aardwolf_Clock V2/Aardwolf_Clock.xml index 0ca0172..1140da8 100644 --- a/Aardwolf_Clock V2/Aardwolf_Clock.xml +++ b/Aardwolf_Clock V2/Aardwolf_Clock.xml @@ -34,7 +34,7 @@ - + @@ -583,11 +583,13 @@ function onHelp() ColourNote("orange", "", "aardlock help -- what you're reading now...") end -function winShow() - if WindowInfo(win, 6) == "true" then +function winShow(name, line, wildcards) + local param = wildcards[1] + if param == "hide" or param == "off" then clockWin:hide() else clockWin:show() + end end ]]>