Expand Folder Branch One Level

There is the expand branch command, but I'm trying to modify it to only work one level at a time.
Not for the folder tree, for the listers with expandable branches enabled.

Go * EXPANDBRANCH=wild,top

What does the top mean? Top level? If I replace that with +1 it expands two levels (at least).
I'm making a three-button out of this. Left click to expand by one level, right click to collapse by one level. MM button to collapse all. Help pls.

New Button.dcf (1.3 KB)
here is one that does what you ask.

1 Like

AFAIK that will only work in the "main branch", so to speak, not in the nested subfolders.
This script can handle that and a bit more, although it's very niche.
ExpandFolders EXPAND=top to expand one level selected or all folders (if nothing is selected).
ExpandFolders ALL EXPAND=top to always expand ALL one level.
FWIW, you can also define how many levels (read the script's main post)

1 Like