Renaming with sub folders help

I think my Unique Numbers script already does what you want.

Thanks Leo!

That works almost 100% perfectly!

If I do the old name of * and try not to insert the old file name into the new file name, it works.

If I change the old file name to "(.+)...." and use "(\1)" in part of the new name, it messes up. Is something wrong with what I'm trying? I'd like it to work both ways... sometimes inserting the old name at the end of the new name.

Thank you for your time!

Messes up in what way?

What are you doing exactly? Maybe show a screenshot.

None of the files get renamed except for the first file and that only gets changed to "1)". All other files stay as their originals.


Here is a screenshot of the script. I changed [NUM] to use [#] just because I'm used to # for numbering :slight_smile:


You're using regular expressions but haven't set the Type drop-down to Regular Expressions.

If set it to Regular Expressions, I lose your script. Then If i import your script again, It goes back to Standard Rename. I'm I missing something?

Change the Type dropdown, not the preset list.

I am and your script and all settings disappear. :\

When I use the drop-down from Type, it changes the Preset as well.

Sorry, you're quite right.

That said, just tick Script Mode again after changing the Type drop-down.

Ahh, that worked as far as getting the script back.

Now on to the next problem... sorry.

Here is your script with a Regular Expression set so the original file name gets added to the end of the new name.


Here is the result. As you can see, the numbering stopped working but the original name is inserted.


Here is your script as is, which works.


Any thoughts on this one? Sorry to keep bugging you :slight_smile:

Damn, you're right, it's more complicated than I thought. :frowning:

:frowning:

How many cases of beer will it take to fix this complication? ;D

[quote="ktbcrash"]:frowning:

How many cases of beer will it take to fix this complication? ;D[/quote]

Let us know, how many you needed. I think, i too already experienced this small problem. It seems to be important to stick to the right order.

I meant it as more of a bribe to get him to work on it. Not that it's so hard to fix that it'll turn him to drinking. Is that what you meant abr? I'm a little lost. Didn't want to offend anyone.

I guess in my world it turned into a joke to offer game programmers alcohol to get things done or get into beta's :laughing:

Ok, i thought you needed some fuel to work through it :smiley: Drinking can give you, in some cases, some inspiration.
But one really has to watch the curve.

Beer is always accepted. :slight_smile:

Here you go: Number Within Sub-Folders rename script.

Leo you son of a gun!!! Works perfectly! :smiley:

Thank you so much for taking the time to write this for me (and others that might need it).

Now on to the important part... How to get you beer :wink:

Heh :slight_smile: There are online grocery stores which seem to accept most card types, but I'm not sure what they'd think about a foreign card. (Might also cause your own bank to panic that the card is being used in the UK.) Probably not worth the potential hassle. :slight_smile: But thanks for the thought!

Plus I would need to know your address which I'm sure you don't want to start handing out. The best way will be to paypal you some cash and you can go pick it out yourself :wink:

But right now I'm a little low on funds so in a few months, expect a PM from me :slight_smile: I'm serious... get a paypal account setup and ready! :stuck_out_tongue:

BTW, what does a case of beer go for in the UK(or whatever kind of drink you prefer)?

Well, I won't say no, but you don't have to, especially if you're low on funds. :slight_smile:

A case of beer is about £10-£20 (GBP), depending on size.

(I should really stop using/linking to Tesco, after their support of the News of the World to the bitter end, but I haven't bought shopping online since then and haven't gotten around to checking out the alternatives.)