Check a folder for the presence of a file
Check a folder for the presence of a file
- Subject: Check a folder for the presence of a file
- From: Les Cavanagh <email@hidden>
- Date: Wed, 07 Nov 2001 15:56:38 +1000
Now that I can get the URLs I need from my text file, I still need the
Applescript to wait till one process finishes before starting the next one.
The process is going to create a file called Report_2001-11-01.html if it is
run on 1-11-2001.
Can I make a loop to check for the presence of this file and exit when it
finds it there?
Something Like:
repeat until true
does exit file "Macintosh HD:Web Server:Websites:server_stats:"
theURL ":logs:server-stats:Report_" Year "-" Month "-" Day ".html"
end repeat
I'm not sure of the correct syntax for this and I'm also not sure if the
loop will load up the server and slow down everything too much.
--
Regards,
,-----/----.
| O | O | Les Cavanagh
| / | Certified Apple Engineer
| (__ | 0419 946 637
| \___|__/ | email@hidden
'-----\----'