newly created folders added to mini tree?
-
sfwood
- Posts: 125
- Joined: 10 Jan 2012 21:07
newly created folders added to mini tree?
Is there a setting or tweak I am missing that will make newly created folders be automatically added to the mini tree? If no, this would be helpful :-).
-
bdeshi
- Posts: 4256
- Joined: 12 Mar 2014 17:27
- Location: Asteroid B-612
- Contact:
Re: newly created folders added to mini tree?
Well, it's possible. But I fear the minitree will begin looking like a miniwoods after a while...
So instead of going for automatically adding new folders to the MT, I suggest you add this little script to catalog, toolbar button or a UDC.
After creating a new folder (and renaming it), trigger the script, to add only those folders that you want to be in the tree.
That said here's an automatic a semi-automatic, if complex, solution:
(NOT if you use default methods of new folder creation)
So instead of going for automatically adding new folders to the MT, I suggest you add this little script to catalog, toolbar button or a UDC.
After creating a new folder (and renaming it), trigger the script, to add only those folders that you want to be in the tree.
Code: Select all
::loadtree <curitem>, 1;- First open Menu > Tools > Keyboard shortcuts , and remove the keyboard shortcut you used to use for creating New Folders.
- Now set up a new UDC > Run Script command (Menu > User > Manage commands) like this:Click on "Assign Keyboard Shortcut" and assign "the keyboard shortcut you used to use for creating new folders".
Code: Select all
Caption: New folder to Minitree Script: $newdir = new("New Folder", dir, , r); loadtree $newdir, 1;
(NOT if you use default methods of new folder creation)
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
XYplorer Beta Club