
Amaranth
21 discussion posts
If you click the maximize button on a window while holding shift, it ignores splits and maximize it to the screen. I can't find a reference to that behavior within DF settings, but I'm assuming it's a feature.
Is there a way to do that in a scripted function?
The reason I'm looking for that is because I'm trying to have this behavior bound to a hotkey. But as far as I can tell, there's only a maximize method, and it does within a split.
I tried calling UnloadApplicationHooks before calling Maximize and then calling LoadApplicationHooks afterwards, but doing that "removed" splits altogether even after the function executed, until I reloaded the monitor profile.
A workaround would be resizing the window to the size of the monitor and moving it to 0,0 instead of maximizing, but it's not the same thing.
Running this function should do that for you:
BFS.DisplayFusion.RunFunction("Maximize Window (ignore monitor splits)");