acceptable hardloop
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.