I'm currently ripping all my TV box sets and having to manually create sub folders Season 0 up to the highest Season for that particular show.
Is it possible to create a button called Create Seasons which will ask for the number of Seasons to create and then automatically create folders called Season 0 up to the number entered when I pressed the button.
Then change the Folder Name,1,20 on the first line to something like Season,0,7. The first number is the starting 0 you wanted. The last number is the last folder you want. The changes made to the first line are the defaults that appear in the dialog, so make them relevant to your needs.
Example:
Rename FILEINFO FROM="." TO="{DlgStringS|Create Season folder range:|Season,0,7}"
Now go to intPadTo = 3
Change the 3 to a 2 or 1, depending on if you want 00 or 0. I like my Season folders to have 2 digits (01, 02, 03 etc), so I would use intPadTo = 2
Now every time you click the button, you just need to change the last number (7 in my above example) to the ending folder you want. If you don't want the text in the dialog to be selected by default, remove the S from DlgStringS on the first line.
What I also like about this script is that, if a folder already exists with the same name, it skips it without error and continues.
Hope that's a good starting point for you. I have no idea how to change the code to only ask for an ending number.
I like your script. Just looking for dialogue to open and ask for the number of seasons then automatically create folders called Season 0 up to the number I entered in the dialogue. Ie the name season is hard coded in the script along with the initial value of zero.
It features the same dialog as shown above (the script button), but also allows pre-initialization. The new command also has a regular command line mode, which can be used in conjunction with {dlgstring} to fill in only specific parameters.
With version v0.3 of CreateFolderEx, you can add a single new folder to an existing set of folders.
I guess clicking a button a few times is faster than editing a number in a dialog that needs cofirmation as well.
This command adds a new folder to a set of existing "Season xx" folders or creates the first folder of the series.
[quote="tbone"]With version v0.3 of CreateFolderEx, you can add a single new folder to an existing set of folders.
I guess clicking a button a few times is faster than editing a number in a dialog that needs cofirmation as well.[/quote]
That is really cool. Thank you, tbone.