• 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: Chris Page <email@hidden>
  • Date: Tue, 25 Sep 2001 16:11:39 -0700

nigh on 9/25/01 3:46 PM, David Simerly at email@hidden wrote:

> 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.

What flag? As a long-time Mac application developer, this is the first I've
heard of this.

--
Chris Page
Mac OS Lead, Palm Desktop
Palm, Inc.

Software development is the art of cajoling megabytes of random noise into
doing something reasonably useful, or at least not life-threatening.


References: 
 >Re: How to tell if a file is busy? (From: David Simerly <email@hidden>)

  • Prev by Date: Re: BBEdit - test result of Find
  • Next by Date: Re: AppleScript wishes do come true!!!
  • 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