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 15:46:36 -0700
- Url: http://www.digital-native.com
on 9/24/01 5:36 PM, email@hidden at email@hidden wrote:
>
I want to check if a file on a mounted volume from an ASIP server is
>
in use before trying to copy it.
>
This is based on a sample script from Sal Soghoian, Apple Computer
>
This code returns Busy: false when I know the file is in use. Why is it so?
Because the Busy flag is *supposed to be* updated by the application that is
using the file. To date, the only application I know of that properly
updates this flag for AppleScript is the Finder. If the file is opened by
some other app, forget it. HTH.
DS
______________________________________
Digital Native
Your guide through the virtual jungle.
______________________________________
Ever Wonder: Why don't you ever see the headline "Psychic Wins Lottery"?