Getting contents of folder question.
Getting contents of folder question.
- Subject: Getting contents of folder question.
- From: David Hood <email@hidden>
- Date: Tue, 27 Jan 2004 09:29:40 +1300
Greetings,
Short form of question - If I get the contents of a folder, can I rely
on it returning the selection in alphabetical order. If not has anyone
got a script to sort the results that I could use?
Long form of question - My daughter is playing with stop motion
animations using lego and a digital camera. I want to create a folder
action that when files from the camera are added to the folder it
numbers them in order 0001.jpg, 0002.jpg etc. the files from the camera
are named DSC0001.jpg, DSC0002.jpg, so newly added files will always
sort in alphabetical order after current files, renaming the files in
an indexed order will mean that 1) The order is preserved 2) Newly
added files will not have the same name as files currently in the
folder. I can write the batch renaming part easily enough, I'd just
like to check if I can depend on the files being in the correct order
at the start of the process.
Regards,
David Hood
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.