Automatically resize lister windows / save lister window sizes

Is there a way (may-be a script) to save the size of lister windows. Ie the window of my music lister is much bigger than the default lister. I always must resize the windows manually.Thank you!!

Layouts may be what you're looking for:

https://www.gpsoft.com.au/help/opus12/index.html#!Documents/Layouts1.htm

This is what I was looking for. Thank you very much Leo. This program is so extensive. I could not live without Opus anymore!!

1 Like

Sorry Leo but after all this is not quite what I meant. I mean that if I am in a ie. standard lister and in there open another folder, the window should dynamically resize to show all colums (according to the saved folder layout) in this SAME lister! Perhaps there is a script or something?

You want the whole top-level window to resize when changing folders?

A script could do that but I would have thought it would be annoying for the window to keep changing size when you change folders.

If you just mean the columns should size to fit their contents, then that is easy.

Yes indeed the whole top-level window. I use a lot of different listers in my studio. In the meantime Its becoming annoying to everytime manually resize the format of the listers to see all colums/content. In my case its a big wish to have the possibility to automatically resize the listers according to the content. Thank you for your time Leo!

You could use an OnAfterFolderChange script to resize the window when the folder changes, based on some criteria. If the columns are set to auto-size then you may have problems calculating the window size since the column data may be refreshed in the background (e.g. if it's metadata that has to be calculated from file contents). But you could make it use sizes you specify for certain folders, so when you go into a particular folder, you get a particular window size.

On the other hand, wouldn't it be easier to make the window large enough to fit the data you might want it to display, and then leave it at that size? Maybe I'm missing a part of the equation.

The video on column resizing may also be worth watching for ideas on how to tackling things differently. For example, you can make some columns use up any extra space, or others give up their space if it is needed by more important columns, to make the best use of available space without having to resize the tab or window.

I already saw the vid but I think i'll give it a go to write a simple script. I enjoy doing that by the way! D.O has been a very good investment for me! Thanks again Leo