• 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: getting a file list in sorted order
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: getting a file list in sorted order


  • Subject: Re: getting a file list in sorted order
  • From: Andy Wylie <email@hidden>
  • Date: Mon, 19 Aug 2002 17:53:37 +1200

on Sun, 18 Aug 2002 17:15:15 -0300 Bill Briggs wrote:
>
> We talked about this off-list, and Nigel's way was faster, but I've
>noted that this oddball double coercion is even faster, even when
>using the loop (on my test case which had 32 text files). The case
>that took 10 seconds coercing directly from file ref to alias takes
>less than a second this way.
>
> set pathString to item 1 of theList as text

:) I now feel vindicated for pedantically using i for references and n for
number in loops, making a new list and setting its end would be slightly
faster.
I'm curious why looping takes twice as long on your setup as my old 8.6 iMac
A.
_____________________________ Andy
_______________________________________________
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: Rounding x to y decimal places (was Re: Int Function
  • Next by Date: [late reply] Re: Parameters for "path to" Command
  • Previous by thread: Re: getting a file list in sorted order
  • Next by thread: Re: getting a file list in sorted order
  • Index(es):
    • Date
    • Thread