Is it possible to number folders like that with some script, and in such a way that if I remove, for instance, folder "02", folder "03" and subsequent changes to "02" and so on?
The script I was thinking of is under the thread "Add a Unique Number while renaming".
But it may not do what you want if there is a particular order of the file names you need to retain (i.e. Introduction always before Proposals, which is always before Final result).
The script I was thinking of is under the thread "Add a Unique Number while renaming".
But it may not do what you want if there is a particular order of the file names you need to retain (i.e. Introduction always before Proposals, which is always before Final result).[/quote]
Okay, I see.
Well, I was thinking of creating the folders in the order I want, and then number them.
If you don't mind having two buttons, one for initialize the number scheme and an other for "renumbering" in case of changes, these two commands should work:
May I suggest that on page 420 in the manual, this ...
"Add a new, empty button
To add a brand new button (one with no function defined) to a toolbar, do any of the following:
o Drag the New Button command from the Commands tab of the Customize dialog, and drop it on the toolbar. This will add the button at the location you dropped it."
... be changed to
"... o In Customize dialog box – Commands tab – Commands: – New, drag Drag the New Button command to your toolbar of choice."
Note that not only the format is different, but, more importantly, "New" has been added.
[quote="Miran"]If you don't mind having two buttons, one for initialize the number scheme and an other for "renumbering" in case of changes, these two commands should work:
I don't see that result, and I certainly don't see file name "xxx" turn into "Folkshul", etc.
It might be that your filenames are not using dash characters, but a similar looking character (an En Dash). So, here's a modified version to support both:
[quote="MrC"]I don't see that result, and I certainly don't see file name "xxx" turn into "Folkshul", etc.
It might be that your filenames are not using dash characters, but a similar looking character (an En Dash). So, here's a modified version to support both:
Rename PATTERN "^(\d+ [-\u2013] )?(.+)$" TO "[#] - \2" REGEXP NUMBER=01 TYPE=dirs[/quote]
Works beautifully!
Now, if I want to do the initial numbering and any renumbering with En dashes, what do I change (the two "-" to "–"?)?