This set of scripts is basically the same script modified to work in one of three ways, depending on preference.
The main gist of the script is to create a set of default folders . It will take a predefined array of folder names. It will loop through a: renaming solids dir->creating new layer to get new default solids dir->rename that dir->delete unused layer then rename the existing solids folder back cycle.
http://www.leapfrog-productions.com/Scr ... tartup.jsx
is for use on starting AFX and goes in the scripts\startup folder.
http://www.leapfrog-productions.com/Scr ... olders.jsx
is the same script minus the app.newProject(); line , as its not needed if not used on startup. This script can be safely used in existing projects .
http://www.leapfrog-productions.com/Scr ... dersUI.jsx
is modified further to open up a dialog box with edit text fields containing the default folder name structure, esc/cancel and ok/return.
The known catch to these is that if you create a solid that creates the
default "Solids" folder, then using the history, undo. It will only undo the
solids creation not undo the "Solids" folder creation (hence on the UI
having the control events allowing cancel)