Dual Display Shortcut

I'd like to add a shortcut / icon to the tool bar for a Horizontal Dual Display. Is it possible to do so? Thanks.

I use this code to switch between single and dual lister, including a single or dual folder tree.

[code]@ifset:DUAL=On
Set DUAL=toggle,Horiz,remember,dest
Set TREE=Single,On
Set AUTOSIZECOLUMNS

@ifset:else
Set DUAL=toggle,Horiz,remember,dest
Set TREE=Dual,On
Set AUTOSIZECOLUMNS[/code]

These are on the default toolbars:

Set DUAL=Toggle,Horiz,ToggleLayout
Set DUAL=Toggle,Vert,ToggleLayout

Leo - I could not find the Horizontal Toggle on the default toolbar, only the vertical. But using your simple script I was able to create the button - thank you.

Amorax - thanks for the script with dual trees - much appreciated.

Never used the scripting function before - easy enough to do though :slight_smile:

You might be using old defaults from a previous version of Opus. If you right-click an empty part of any default toolbar, there are options to reset them to the current factory defaults. (You might want to do a config backup first, via Settings > Backup & Restore, just in case you had something on the old toolbar(s) which you wanted to keep.)