#Q::
winExit(){
global thisWindow
if (thisWindow = "") {
WinGetTitle, thisWindow, A
WinSet, AlwaysOnTop, On, A
WinSet, Transparent, 220, A
WinSet, ExStyle, +0x20, A
} else {
WinActivate % thisWindow
WinSet, AlwaysOnTop, Off, A
WinSet, Transparent, Off, A
WinSet, ExStyle, -0x20, A
thisWindow := ""
}
}
return
标签:thisWindow,Off,WinTop,ahk,0x20,WinSet
From: https://www.cnblogs.com/nolca/p/16827896.html