I'm struggling to understand how to go about making a button that toggles between Flatview mixed, Flatview Mixednofolders and Flatview Off
I tried doing this, but it obviously doesn't work.
@ifset FLATVIEW=Off
Set FLATVIEW=toggle,mixed
@ifset FLATVIEW=Mixed
Set FLATVIEW:MixedNoFolders
@if:else
Set FLATVIEW:off
Leo
2
You have some :
where =
should be, which might be all you need to change.
There's also a command you can copy (or assign a hotkey to) in the default toolbars which does something similar:
(The extra stuff on the first three lines changes the button's icon depending on the mode, and specifies when the button appears activated or not.)
1 Like