Created
November 21, 2021 12:48
-
-
Save Forgo7ten/ccd41750fbc6e5c5027750dea59ae1ac to your computer and use it in GitHub Desktop.
通过Win+`键使任意窗口置顶、取消置顶 [autohotkey工具](https://autohotkey.com/)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;================================================== | |
;** 快捷键 Win+` 使当前窗口置顶 | |
;================================================== | |
#`:: | |
WinSet, AlwaysOnTop, toggle,A | |
WinGetTitle, getTitle, A | |
Winget, getTop,ExStyle,A | |
if (getTop & 0x8) | |
TrayTip 已置顶, 窗口标题: `n%getTitle%,10,1 | |
else | |
TrayTip 取消置顶, 窗口标题:`n %getTitle%,10,1 | |
return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment