• 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: Differentiating between "A1", "A12", "A13"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Differentiating between "A1", "A12", "A13"


  • Subject: Re: Differentiating between "A1", "A12", "A13"
  • From: Arthur J Knapp <email@hidden>
  • Date: Thu, 10 Jan 2002 15:30:11 -0500

> Subject: Re: Differentiating between "A1", "A12", "A13"
> Date: Thu, 10 Jan 2002 18:42:12 +0000
> From: Nigel Garvey <email@hidden>


> set myFolder to choose folder

> -- Get the names of all the files in the folder
> -- (Hopefully, they're in alphabetical order)

> tell application "Finder" to set nameList1 to name of files of myFolder

I'm surprised at you, Nigel ;-)


tell application "Finder"

set theFiles to sort (every file of myFolder) by name
set theNames to sort (name of every file of myFolder) by name



{ Arthur J. Knapp, of <http://www.STELLARViSIONs.com>
<mailto:email@hidden>
try
<http://www.apple.com/applescript/>
on error number -128
end try
}


  • Prev by Date: Archiving Scanned Content from Books
  • Next by Date: Re: Convert first char to lower case
  • Previous by thread: Re: Differentiating between "A1", "A12", "A13"
  • Next by thread: Re: Differentiating between "A1", "A12", "A13"
  • Index(es):
    • Date
    • Thread