📅  最后修改于: 2022-03-11 14:58:51.532000             🧑  作者: Mango
#SingleInstance Force
#WinActivateForce
SetKeyDelay,0
SetWinDelay,0
WindowList:=[]
F11:: ; press to catch id of 2 windows
Loop, 2 {
WinGet, IDD, ID, A
WindowList.InsertAt(A_Index, IDD)
Tooltip, % WindowList[A_Index] "â¶"A_Index ,0,0
Sleep, 500
KeyWait, F11, D T2
Tooltip,
}
Return
\:: ;hotkey to switch between software
if (tgl := !tgl)
WinActivate, % "ahk_id" WindowList[1]
else
WinActivate, % "ahk_id" WindowList[2]
Return