i use a double pane window, it woul dbe very very nice if there would be a button when pressed, the right or left window pane is hidden. It often occupies a lot of screen space but is still very handy to have 2 window panes. Woul dyou consider that feature?
thanks, but that does not do what i am after, the total size of opus occupying screen space is still the same it only closes one window pane, it woul dbe great if the area of the closed pane "dissapeared" - reducing the total ares opus occupy on the screen (that was the idea after all )
Note that that script is a button which will only resize the window if you turn the dual file display on/off by clicking that button. (It could also work via a hotkey. But it won't work with things like closing the last tab on one side.)
You could use scripting events to make it happen no matter how the dual file display is turned on/off, although it would be a lot more complicated.
(You could also do something much more simple, which is have a button or two which sets the window to a particular size, or cycles between two sizes as needed.)