Hi, I have a couple of renaming questions that I can't quite work out.
This is my button, which will rename my pics in this format: "2009-09 - mylabel - 001.jpg"
@nodeselect
Rename FILEINFO FROM "*.*" TO "{shootingtime|D#yyyy-MM} - {dlgstring|Enter label...|{clip}} - .{ext}" NUMBER=001
I tried to replace {clip} with {parent} to get the parent folder name in the dialog box text entry field. It just shows as "{parent}" though. Is this not possible for dialog boxes?
How would I make it work on selected files only? At the moment it works on all files.
If no shooting time exists, files will be renamed as:
" - labelhere - 001.jpg"
In this case can I tell the button to use 0000 instead of nothing?
"0000 - labelhere - 001.jpg"
Or, could I tell it to remove the first dash, so it'd look like this:
"labelhere - 001.jpg"
If I don't enter a label/title the output will look like this:
"YYYY-MM - - 001.jpg"
Can I tell it to remove double dashes at the end, or make them one, at the end?
Amazing thanks leo. I do have a vbscript which cleans it up. But I will try some more rename patterns in the button itself and see if I can get it to do it all in one hit.
I had tried adding this to the end but it did nothing at all. I think because each of the dashes have spaces around them. not sure.
Rename PATTERN="- -" TO=" - " FINDREP
I have some more ideas to try though.
And that parent name is great! I would never have known. Didn't think I was going to get around it without vb!