• 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
Getting list of items from network slow
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Getting list of items from network slow


  • Subject: Getting list of items from network slow
  • From: brian mather <email@hidden>
  • Date: Sat, 22 Nov 2008 04:50:45 -0500
  • Thread-topic: Getting list of items from network slow

Am I alone in enjoying ridiculously horrible network latency when querying a
folder on a SMB volume for it's contents with a Mac running 10.5.5?

tell application "Finder"
        set thefolder to choose folder
        set theFiles to every item of thefolder
        --return theFiles
end tell


When I choose a volume local to my Mac this snippet returns results like
lightning. Choose a folder on my network and it takes nearly two minutes.

Discovered this as I was testing all of my department's scripts for a
transition from 10.4 to 10.5. Similarly poor results on MacPros and G5s so
hardware doesn't seem to be a large contributing factor.

I've googled this a bit and checked the list archive without much luck. I've
seen vague references to others suffering this same issue and was hoping for
a leg up. Is there a better method to get a list of files that I can iterate
through with repeat loops? Should this not be in a tell finder block? Should
I get 'files' and not 'items'?

Any help appreciated. I'm on digest so cc'ing back to me directly much
appreciated.

Brian


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Prev by Date: Re: A puzzle
  • Next by Date: Re: Can't Remove Photos from iPhoto Slideshow using AppleScript / Scripting Bridge
  • Previous by thread: Re: Can't Remove Photos from iPhoto Slideshow using AppleScript / Scripting Bridge
  • Next by thread: Re: Getting list of items from network slow
  • Index(es):
    • Date
    • Thread