• 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: Are you busy? info for file while copying
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Are you busy? info for file while copying


  • Subject: Re: Are you busy? info for file while copying
  • From: "Gary (Lists)" <email@hidden>
  • Date: Tue, 23 Aug 2005 21:29:00 -0400

"George Bray" wrote:

>
> Apologies if this is a well-known bug/feature, but I wanted to
> confirm with those in the know.
>
> From my testing, the Finder's "info for" call simply always returns
> false for "busy status" and "locked".  I was expecting one of them to
> be true while a file copy is in progress.

'locked' refers to the Get Info setting, making the file read-only or what
have you.  This returns 'true' or 'false', appropriately, OMM, but it is not
related to a file's status with respect to being opened, in use or fully
committed to the file system.

'busy status' is less useful in the main, but I do use it in at least one
script.  It's also used in a number of Apple's examples, and I think worked
better in OS 9.

> Is the accepted way around this to loop over the file until the mod
> date or size stops moving?

You could use Jon's Commands X, version 3.something.b

There is a 'fileIsBusy' command there.  My specific experience with that
command is not sufficient to comment on its usage, but in the main, if it's
a "Jon's Command" I feel very confident using it.

> Should this be considered a bug?

You'll have to ask Mr. Death-rage. ;)
--
Gary

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Are you busy? info for file while copying
      • From: Matt Deatherage <email@hidden>
References: 
 >Are you busy? info for file while copying (From: George Bray <email@hidden>)

  • Prev by Date: Are you busy? info for file while copying
  • Next by Date: Re: Are you busy? info for file while copying
  • Previous by thread: Are you busy? info for file while copying
  • Next by thread: Re: Are you busy? info for file while copying
  • Index(es):
    • Date
    • Thread