• 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
acceptable hardloop
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

acceptable hardloop


  • Subject: acceptable hardloop
  • From: Andrew Simpson <email@hidden>
  • Date: Mon, 17 Sep 2001 09:33:38 +1200

Is the code below an acceptable way to code a delay while waiting for a file
to appear in a directory???

--code--

repeat while 1 is equal to 1
tell application "Finder"
set check_file to ""
set check_file to (every file of processed_folder whose name begins with
check_file_name) as string

if check_file is not equal to "" then
exit repeat
end if
delay 1

end tell
end repeat

--end code--

pointers appreciated.

Andrew.


  • Follow-Ups:
    • Re: acceptable hardloop
      • From: Emmanuel <email@hidden>
  • Prev by Date: menu jumps to spanish???
  • Next by Date: Re: How to wait for a PostScript file to finish it's creation?
  • Previous by thread: Re: menu jumps to spanish???
  • Next by thread: Re: acceptable hardloop
  • Index(es):
    • Date
    • Thread