How to create a button to switch to a particular lister style?

I'd like to assign "Explorer" style to a button, and "Dual vertical" to a button, so I can switch between them with the click of a button. Is there a way to create such buttons?

1 Like

These are the commands:

Prefs STYLE=Explorer
Prefs STYLE="Dual Vertical"

(If needed: How to use buttons and scripts from this forum )

Perfect, thanks!

1 Like