Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I want to rename selected files in the finder sequentially. To do this I have created an Automator workflow.

In the Automator workflow you can specify how many digits long you want the rename to be I.e. 3 = 001, 002 etc...

I would like this number to be inferred from the number of files selected.

Is this possible?

Thanks for any help!

Ben

share|improve this question
    
As far as I know, you can't do this with Automator's drag & drop components, but you could do it with an AppleScript. –  Nathan Greenstein Jan 2 '12 at 3:50
    
Ben, would a shell script (callable from Terminal or Automator) be a valid alternative for you? –  patrix Jan 2 '12 at 11:52
    
Thanks for the comments. Either an AppleScript or shell script would work great - I'll get on this at some point and post it. I just wanted to know whether I was missing something like a variable that I could use in the automator UI. Thanks again. –  Ben Hinman Jan 7 '12 at 17:35
add comment

1 Answer

up vote 1 down vote accepted

This is not possible with Automator. You can only specify the number of digits manually.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.