Currently Being ModeratedJun 20, 2011 6:45 PM (in response to MarcPJ31)
You are going to need a few third party actions, since there isn't a default one to get the name of a folder and the rename action doesn't take variables.
I have some actions on my Automator homepage that might be useful - the Get Names of Finder Items action will get the name of your folder so that you can put it into a variable, and the Change Name of Finder Items action will accept variables for the name to change to.
You also might want to deal with the possibility of multiple items being selected, some of which may not be folders. You can use the Filter Finder Items action to filter out items that are not folders, but you will need to either trim the input list to just one item or use something like the Dispense Items Incrementally action to step through the input items one at a time.
Currently Being ModeratedMar 31, 2012 6:47 PM (in response to red_menace)
Thank you for that Get Names of Finder Items action. It was a life saver! Don't know why Apple didn't have one by default.
Currently Being ModeratedMar 31, 2012 9:11 PM (in response to TonyKambo)
Tony, Red is great, I always learn something from him!
Currently Being ModeratedNov 20, 2012 1:44 AM (in response to red_menace)
I'd really love to use your Get Names of Finder Items action, but the link seems to be broken. Are you able to post it it here?
Currently Being ModeratedNov 20, 2012 8:57 AM (in response to ali_bat)
My ISP went brain dead when I updated my service, so I am without a web host at this time - if you would like me to email you a copy, my address is in my profile.
Currently Being ModeratedApr 3, 2013 9:34 PM (in response to MarcPJ31)