• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Getting contents of folder question.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: applescript and browsers
  • Next by Date: sound input level
  • Previous by thread: Re: UI Element Inspector
  • Next by thread: sound input level
  • Index(es):
    • Date
    • Thread