How do I use the current folder name without a path as a variable in automator in Mac?
I am using Mac OSX 10.8.3. I have a workflow in Automator set up that is as follows: Ask for Finder Items Get Folder Contents Make Sequential Move Finder Items The purpose of the workflow is to automate renaming a bunch of photos that I have saved in folders then move them to an new folder. I want to grab the foldername and stick it in a variable and use that variable in the "new name box" in the Make Sequential section of the work flow (see attached) image. How do I grab just the folder name and assign it to a variable. My example has a variable called "FolderName" Here is a screenshot