• 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: How to tell if a file is busy?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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"?


  • Follow-Ups:
    • Re: How to tell if a file is busy?
      • From: Simon Forster <email@hidden>
    • Re: How to tell if a file is busy?
      • From: Chris Page <email@hidden>
  • Prev by Date: Re: FaceSpan for OS X (was Re: Applescript Studio announced today!)
  • Next by Date: Re: JPEG file Info
  • Previous by thread: Re: How to tell if a file is busy?
  • Next by thread: Re: How to tell if a file is busy?
  • Index(es):
    • Date
    • Thread