• 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 22:47:30 -0700
  • Url: http://www.digital-native.com

on 9/25/01 4:11 PM, Chris Page at email@hidden wrote:

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

Mac OS 9 Tech. Note 1176:
<http://developer.apple.com/technotes/tn/tn1176.html>

> The "file busy" flag to has been added to the FileInfo result to allow a
> script to wait until a file operation is complete (i.e., until the file is no
> longer busy).

Scripts access the flag via the standard addition "get info":

set file_info to get info for my_file_alias
repeat while busy of file_info
delay 10
end

As I said earlier: the only app I've found to date that sets this flag is
the Finder.

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: Chris Page <email@hidden>
  • Prev by Date: Re: AppleScript Studio
  • Next by Date: Re: Applescript Studio announced today!
  • 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