summaryrefslogtreecommitdiffstats
path: root/windows/neo-vars/src/source/keyhooks.ahk
diff options
context:
space:
mode:
Diffstat (limited to 'windows/neo-vars/src/source/keyhooks.ahk')
-rw-r--r--windows/neo-vars/src/source/keyhooks.ahk10
1 files changed, 10 insertions, 0 deletions
diff --git a/windows/neo-vars/src/source/keyhooks.ahk b/windows/neo-vars/src/source/keyhooks.ahk
index b5b3505..ff4d71b 100644
--- a/windows/neo-vars/src/source/keyhooks.ahk
+++ b/windows/neo-vars/src/source/keyhooks.ahk
@@ -12,3 +12,13 @@ return
allstarhook:
AllStar(A_ThisHotkey)
return
+
+; Ein paar andere Hooks kommen hier auch noch. GUIs springen hier her, wenn
+; sich bei ihnen etwas auf die entsprechende Art tut.
+
+GuiClose:
+ if (GuiCurrent!="")
+ %GuiCurrent%OnClose()
+ else
+ Gui, Destroy
+return