Page 1 of 1
newly created folders added to mini tree?
Posted: 10 Mar 2015 05:53
by sfwood
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 :-).
Re: newly created folders added to mini tree?
Posted: 10 Mar 2015 06:21
by bdeshi
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:
- 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:
Code: Select all
Caption: New folder to Minitree
Script: $newdir = new("New Folder", dir, , r); loadtree $newdir, 1;
Click on "Assign Keyboard Shortcut" and assign "the keyboard shortcut you used to use for creating new folders".
From now on, you can either use that shortcut or
Menu > User > Run Script > New folder to mini tree to create new folders, and they will be added to the minitree.
(NOT if you use default methods of new folder creation)