🧰 AutoHotkey v2

Always on Top Toggle

Win+T toggles the active window to stay always on top — great for pinning a reference window while you work in another.

By WindowsScripting.com · 337 B
AlwaysOnTopToggle.ahk
; ============================================================
; AlwaysOnTopToggle.ahk
;
; Win+T toggles "always on top" for the currently active window.
;
; Requirements: AutoHotkey v2 (https://www.autohotkey.com/)
; ============================================================

#Requires AutoHotkey v2.0

#t::WinSetAlwaysOnTop(-1, "A")