aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts.ahk16
1 files changed, 13 insertions, 3 deletions
diff --git a/scripts.ahk b/scripts.ahk
index 3aaa694..0ddc10f 100644
--- a/scripts.ahk
+++ b/scripts.ahk
@@ -26,15 +26,25 @@ return
<<body>>
+; Caps Lock toggle/display
+
+#Space::
+SetCapsLockState % !GetKeyState("CapsLock", "T")
+CoordMode, ToolTip, Screen
+if (GetKeyState("CapsLock", "T"))
+ ToolTip, CapsLock, 8, % A_ScreenHeight - 70
+else
+ ToolTip
+CoordMode, ToolTip
+return
+
; Miscellaneous
-#Space::CapsLock
#PrintScreen::Media_Prev
#ScrollLock::Media_Play_Pause
#Pause::Media_Next
-#e::Run, % "explorer /n, ::{20D04FE0-3AEA-1069-A2D8-08002B30309D}"
-#!t::WinSet, AlwaysOnTop,, ahk_class tooltips_class32 ; fix bug
+#e::Run, % "explorer /n, ::{20D04FE0-3AEA-1069-A2D8-08002B30309D}" ; open my computer
; Enable/disable proxy server