• 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
RE: applescript-users digest, Vol 3 #1025 - 14 msgs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: applescript-users digest, Vol 3 #1025 - 14 msgs


  • Subject: RE: applescript-users digest, Vol 3 #1025 - 14 msgs
  • From: "Steve Suranie" <email@hidden>
  • Date: Fri, 1 Nov 2002 13:34:43 -0500
  • Thread-topic: applescript-users digest, Vol 3 #1025 - 14 msgs

Hi all:

I have a script which copies PDF files from one server and places them in another server. The script checks the destination folder to see what has been added and does some stuff to the new files. I dump the items into a pair of list and then loop through them. I was mindlessly watching this through the log event screen and monitoring the destination folder and I noticed that there didn't seem to be any particular order to what files would be accessed by the script. (I had the window narrowed so I could only see the name column so it's possible it was sorting through everything based on another item parameter (modification date, size, etc.) though to me it seemed more like it was just pulling random chunks (like 5-10 files) doing them and moving on to another chunk.

Does anyone know what the sorting priorities are for the repeat command? Is there a way to set them so that the script would go through the list alphabetically?

Basically what I was doing was something like this:

set pdfFolderItems to list folder pdfFolderPath without invisbles.

repeat with thisItem in pdfFolderItems

-- rest of code here

end repeat

Thanks

Steve
_______________________________________________
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: Unmount a partitioned volume
  • Next by Date: Re: Parsing comments from HTML...
  • Previous by thread: Re: Unmount a partitioned volume
  • Next by thread: enumerated types: best way to fake them?
  • Index(es):
    • Date
    • Thread