I made a simple script that opens the current pane in a new window, minimizes the original main window, anchors the new window to the forefront, and resizes it. This might be useful on a PC with a small monitor to take some notes while viewing other windows such as a browser. I’m a novice AHK user so I’m not sure if it’s grammatically correct, but if someone could try to get it to work correctly in your obsidian that would be great.
#IfWinActive ahk_class Chrome_WidgetWin_1
^q:: ; hotkey for this script
WinGetActiveTitle,ObsTitle
Send, ^+p ; hotkey for 'Open current pane in new window' (ctrl+shift+p in my case)
Sleep, 50
WinActivateBottom,%ObsTitle% ahk_class Chrome_WidgetWin_1
Sleep, 50
Send, #{Down} ; hotkey for minimize the active window (Windows)
Sleep, 50
Send, ^+l ; hotkey for 'Toggle window always on top' (ctrl+shift+l in my case)
WinMove,A,,,,600,800 ; size of new pop-out window (x:600,y:800 in this case)