• 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: Printing files in date order...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Printing files in date order...


  • Subject: Re: Printing files in date order...
  • From: Emmanuel <email@hidden>
  • Date: Wed, 8 Feb 2006 19:25:30 +0100

At 8:32 AM -0700 2/8/06, David Crowe wrote:
The Finder always seems to dish out the contents of a folder in alphabetical order.

Is there a simple solution if you want to print files, or do other operations, in order of, say, modification date? Simpler than building a script around a sort routine?

You can use the shell command "ls" with the "-t" option:

do shell script "ls -t " & quoted form of posix path of theAlias

Emmanuel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Printing files in date order... (From: David Crowe <email@hidden>)

  • Prev by Date: Re: App scripts in system script menu
  • Next by Date: Re: iCal Mystery -- description of calendar when description is missing value
  • Previous by thread: Printing files in date order...
  • Next by thread: [AS] saving as AppleWorks 5
  • Index(es):
    • Date
    • Thread