Was able to make a toggle for PiP, but I'd like to toggle on and off this just toggles off, but once I hit hotkey to switch windows pip re-enables. I'd like to have a permanent off/on hotkey.
This is what I have so far. Still looking for a way to click to switch windows and a permanent on/off toggle for PiP. If anyone has any recommendations or improvements for this let me know.
I tried to let my buddy use it, but his monitor resolution is 4k. We he tried to edit resolution for his monitor nothing worked right. Everything was the same besides adding his 3840x2160 wherever 1920x1080 was. Anyone had any issues like this before?
Code:
// ----------------------------------------------------------------
// AUTOHIDE TASKBAR
// ----------------------------------------------------------------
<Hotkey END>
<SetTaskbarAutoHide on>
// ----------------------------------------------------------------
// 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>
// ----------------------------------------------------------------
// 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