• 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: Networking / AS query
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Networking / AS query


  • Subject: Re: Networking / AS query
  • From: Simon Forster <email@hidden>
  • Date: Tue, 16 Nov 2004 09:57:59 +0000


On 15 Nov 2004, at 17:19, email@hidden wrote:

tell application "Finder" to set FolderList to get the name of every folder of folder jtServerPath

In OS X the Finder does some quite extensive caching of folder info - and yes, getting file lists can be slow (assuming they're not already cached).


You can look at using "list folder" from standard additions - this'll be faster. Perhaps combine with "info for" to get folders? Alternatively, ls -d */ will give you a list of folders in the current working directory - use with do shell script and appropriate paths.

HTH

Simon Forster
_____________________________________________________
 LDML Ltd, 62 Pall Mall, London, SW1Y 5HZ, UK
 Tel: +44 (0)70 9230 5244   Fax: +44 (0)70 9230 5247
_____________________________________________________

_______________________________________________
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: 
 >Networking / AS query (From: email@hidden)

  • Prev by Date: Re: Contacts whose email clauses in Entourage X
  • Next by Date: Save EPS page from Acrobat
  • Previous by thread: Networking / AS query
  • Next by thread: Re: Networking / AS query
  • Index(es):
    • Date
    • Thread