Figured out a way to click to switch windows. I'm trying to figure out how to make sure foreground has focus as right now the window I just switched from has focus. Still trying to figure out how to permanently disable/enable hole. Everything I've tried just re-enabled after tabbing windows.
Code:
// ----------------------------------------------------------------
// AUTOHIDE TASKBAR GAME ISSUE?
// ----------------------------------------------------------------
<Hotkey END>
<SetTaskbarAutoHide toggle>
// ----------------------------------------------------------------
// SET PIP CONFIGURATION
// ----------------------------------------------------------------
<Command ResizeAndPosition>
<TargetWin %1%> <SetWinRect 0 0 1920 1080>
<TargetWin %2%> <SetWinRect 51 186 480 270>
<SetWinRegion None>
<TargetWin %3%> <SetWinRect 51 456 480 270>
<SetWinRegion None>
<TargetWin %1%>
<SetWinRegion 51 186 480 270>
<SetWinRegion 51 456 480 270>
// ----------------------------------------------------------------
// Cycle through the windows.
// ----------------------------------------------------------------
<Hotkey Oem3> // THIS IS WHERE YOU DEFINED HOTKEY
<Toggle>
<ResizeAndPosition Char1 Char2 Char3>
<Toggle>
<ResizeAndPosition Char2 Char1 Char3>
<Toggle>
<ResizeAndPosition Char3 Char1 Char2>
// ----------------------------------------------------------------
// Cycle through the windows via mouse clicks
// ----------------------------------------------------------------
<Hotkey alt RButton>
<PassThrough>
<DoHotKey Hotkey Oem3>
<Hotkey alt LButton>
<PassThrough>
<If ActiveWinIs Char1>
<ResizeAndPosition Char1 Char2 Char3>
<Else If ActiveWinIs Char2>
<ResizeAndPosition Char2 Char1 Char3>
<Else If ActiveWinIs Char3>
<ResizeAndPosition Char3 Char1 Char2>
// ----------------------------------------------------------------
// TOGGLE PIP ON/OFF ONLY OFF FOR NOW
// ----------------------------------------------------------------
<Hotkey ALT Oem3>
<If WinSizeIs Char1 1920 1080>
<TargetWin Char1>
<SetWinRegion none>
<SetForegroundWin>
<UpdateWin>
<If WinSizeIs Char2 1920 1080>
<TargetWin Char2>
<SetWinRegion none>
<SetForegroundWin>
<UpdateWin>
<If WinSizeIs Char3 1920 1080>
<TargetWin Char3>
<SetWinRegion none>
<SetForegroundWin>
<UpdateWin>
Connect With Us