Hello all,
First post here. I am using OS 9.1 and Applescript 1.3.6
I am trying to write a script that goes to a select folder/container filled with .gif images, and then renames these in sequential numerical order with reference to the order they are in the folder. e.g. the first file will end up being named 1, the second file 2 etc… They need to be in numerical order because they are later going to be read into quicktime as sequential images to make a movie.
I can easily do this with Applescript using the set name to commands and container reference commands (first file of folder xxx) set name to (second file of folder xxx)
I have lots of folders though with lots of files and the aim here was to lessen the work. In the above example I still have to script a line for each file.
Question
Is there a way to script something like “next”?
This way I could tell the script to “name a file 1, and then say, go to next file, then say name it x +1, and then repeat”
I could also use this set up to tell it to go to the next folder when it finishes one folder.
Is there such a command? Can anyone provide any ideas for me as a get around?
Any help would be greatly appreciated,
Frank