Re: [PanoToolsNG] Re: OT - Rename Nth file in folder to name of folder
- That got me started I found an Applescript that got me close
set the_folder to (choose folder)
tell application "Finder"
set folder_name to name of next_folder
set folder_contents to every item of next_folder
repeat with each_item in folder_contents
if kind of each_item is "folder" then
set name of each_item to folder_name & ".jpg"
By luck, I needed the first file renamed, it stopped in each folder
after the first. I had to then go get the new file, I didn't work on
the copy function
360 Product Photography
Indianapolis, Indiana USA
On Aug 3, 2009, at 11:59 AM, Eduardo Hutter wrote:
> A couple of days ago I was asking about a file renamer (http://tech.groups.yahoo.com/group/PanoToolsNG/message/31184
> ) and found Renamer (for PC, sorry) http://www.den4b.com/
> I was reading the manual and seems pretty powerfull. You can even
> use Pascal to script a deeply customized rule to rename your files.
> I'm not sure whether or not this fit into your needs - even because
> I have no idea about how to write those - but like I said, seems
> pretty powerfull.
> Hope that helps
[Non-text portions of this message have been removed]