ZTree.com  | ZEN  | About...  

 Index   Back

Another two methods   [ZEP]

By: Ben Kent       
Date: May 23,2018 at 22:27
In Response to: [ZEP] Selective Branch Collapse (Art Kocsis)

Another two methods

1.
If Directory mode supported Shift-numpad-minus, then a macro like this could be used after sWitching to directory mode, go into the "file" window and Tagging the directories you want to keep visible.

STOP_IF_FMODE
STOP_IF_DW
STOP_IF_NOTAGS
CTRL_I,t
STOP_IF_NOTAGS
CTRL_ENTER
WHILE_NOT_ERROR
STOP_IF_NOTAGS
NUM-


2.
This method works with the existing ZTree, but touches the directories that need to be hidden, which may not be wanted.

sWitch to directory mode
Enter into the file window
Tag the directories you want to keep visible
Ctrl-I,t
Ctrl-A,+h
Alt-F10,2,j to get to one of the options with H
F3 to save the config
Esc to the Directory window
sWitch back to file mode
F3 to refresh

do your work

At the end, unhide the directories
Alt-F10,2,j=None
F3
sWitch
Enter into the "file" window
Alt-Tag,a,+h
Ctrl-A,-h



Ben

913 views      
Thread locked
 

Messages in this Thread

 
96,631 Postings in 12,230 Threads, 350 registered users, 66 users online (0 registered, 66 guests)
Index | Admin contact |   Forum Time: Mar 19, 2024 - 11:40 am UTC  |  Hits:62,016,194  (13,475 Today )
RSS Feed