• 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
Status Busy - does this work?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Status Busy - does this work?


  • Subject: Status Busy - does this work?
  • From: email@hidden
  • Date: Wed, 22 Jun 2005 15:32:26 +1000

The file I'm trying to copy is a data file which is often in use. So I thought I'd try and determine if that was the case as part of my script.

If I run
set item_info to info for file "1GIG: SPELEAN: Spelean data"
set item_busy to busy status of item_info


I get a result of this in the event log
tell current application
info for file "1GIG: SPELEAN: Spelean data"
{name:" Spelean data", creation date:date "Wednesday, 20 April 2005 10:42:38 PM", modification date:date "Wednesday, 22 June 2005 2:47:55 PM", icon position:{0, 0}, size:2.59200392E+8, folder:false, alias:false, package folder:false, visible:true, extension hidden:false, name extension:missing value, displayed name:" Spelean data", default application:alias "Lt Data:Applications:OMNIS7371:OMNIS 7 Dev", kind:"OMNIS 7 Dev Document", file type:"O7$D", file creator:"O7$3", type identifier:"dyn.agk8y8r3eku", locked:false, busy status:false, short version:"", long version:""}
end tell


Now I _know_ this file is in use (I can't copy it by dragging in the Finder). So what's with the returned result of "busy status:false"? I would have expected a property called busy to be true if the file was in use.
The file in question is on a shared folder from an xserve.


Cheers, Andrew Pavey
_______________________________________________
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


  • Prev by Date: Re: Why is copying a file so hard? part 3
  • Next by Date: Re: Why is copying a file so hard?
  • Previous by thread: Re: scripting barcodes
  • Next by thread: Help on Checking an applications dictionary for a command
  • Index(es):
    • Date
    • Thread