Re: How to tell if a file is busy?
Re: How to tell if a file is busy?
- Subject: Re: How to tell if a file is busy?
- From: David Simerly <email@hidden>
- Date: Tue, 25 Sep 2001 22:47:30 -0700
- Url: http://www.digital-native.com
on 9/25/01 4:11 PM, Chris Page at email@hidden wrote:
>
What flag? As a long-time Mac application developer, this is the first I've
>
heard of this.
Mac OS 9 Tech. Note 1176:
<
http://developer.apple.com/technotes/tn/tn1176.html>
>
The "file busy" flag to has been added to the FileInfo result to allow a
>
script to wait until a file operation is complete (i.e., until the file is no
>
longer busy).
Scripts access the flag via the standard addition "get info":
set file_info to get info for my_file_alias
repeat while busy of file_info
delay 10
end
As I said earlier: the only app I've found to date that sets this flag is
the Finder.
DS
______________________________________
Digital Native
Your guide through the virtual jungle.
______________________________________
Ever Wonder: Why don't you ever see the headline "Psychic Wins Lottery"?