• 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
File Sharing: time to draw folders
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

File Sharing: time to draw folders


  • Subject: File Sharing: time to draw folders
  • From: Irwin Poche <email@hidden>
  • Date: Sat, 06 Oct 2001 10:28:18 -0500

I'm working on a script that opens a folder (via a file sharing mounted
disk) and then selects a few items in the folder.

The problem is the time it takes file sharing (over a modem) to retrieve all
the information drawn in the folder's window. I get a "that thing is not
there" type of message when the script hits it's "select" statement.

I have tried a "with timeout" around the "open folder" statement but the
open is considered done as soon as the window outline is drawn.

Nothing I can find in the Finder dictionary suggests a boolean that
indicates the window has been redrawn. In the back of my mind there's a
"busy" something or other boolean somewhere.

Anyone know if there's a direct (boolean) or indirect (loop) way of knowing
the window is drawn. I don't know that a loop's a good idea - might eat up
processor cycles making the window draw that much slower.

-Irwin


  • Prev by Date: Tex-Edit, get wild text, even one letter.
  • Next by Date: Re: Tex-Edit, get wild text, even one letter.
  • Previous by thread: Re: Tex-Edit, get wild text, even one letter.
  • Next by thread: Set Selection with a list of items
  • Index(es):
    • Date
    • Thread