• 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
Re: Busy Status
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Busy Status (From: christian vick <email@hidden>)

  • Prev by Date: RE: URL Access Scripting Problem
  • Next by Date: Unmount a partitioned volume
  • Previous by thread: Re: Busy Status
  • Next by thread: Re: Busy Status
  • Index(es):
    • Date
    • Thread