Toggle Toolbar visibility based on Window Width

Greetings Gurus. Can opus be triggered by it's window width like (if Window Width <1920 then toggle wider toolbar on and narrow toolbar off).
@windowwidth as a variable.

The reason being a user may want to automatically swap in a different toolbar set when dopus is opened on a 4k monitor and a alternate toolbar set when opened on a FHD monitor. This may also serve a single user with different use cases for opus that have their respective layouts. A user may have different toolbars visible on a 8k monitor with bigger icon sets for example.

Opus already has toolbar sets, and layouts so I'm thinking just a @windowwidth variable and maybe @windowheight.

That should also be able to trigger

A script could do this dynamically with a handler for the OnListerResize event.

Alternatively you could just use different Lister Layouts for different monitor configurations, since layouts can also change the toolbars.

Thanks for the response, I'll look into that event. By the way, excellent addition to put preferences and customize buttons on the title bar, it's perfect.

1 Like