Re: Busy Status
Re: Busy Status
- Subject: Re: Busy Status
- From: "Brian J. Geiger" <email@hidden>
- Date: Fri, 1 Nov 2002 12:32:18 -0500
I have a script that works pretty well for this. It's pretty standard
error checking put to a better use.
http://www.subluminal.com/CGI-Executable/blosxom.cgi/Portfolio/
Applescript
The IsFileAvailable script. In a nutshell, it tries to open the file
for writing, checks for an error, and closes the file. If it can't be
opened for writing, then it's presumed busy. Of course, there could be
other reasons it can't be opened, such as permissions and the like, but
for my purposes, if I couldn't write to the file, then it wasn't usable
for me.
=Brian
On Friday, November 1, 2002, at 09:22 AM, christian vick wrote:
I have a folder action that checks the busy status of files which are
in the process of being downloaded but the busy status doesn't appear
to be accurate. When checking the busy status of a file, with Finder
or "info for", what criteria is used to determine if a file is or is
not busy?
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.