Re: Is a file open in another application?
Re: Is a file open in another application?
- Subject: Re: Is a file open in another application?
- From: Dave Keck <email@hidden>
- Date: Sat, 19 Mar 2011 13:59:35 -0700
> Is there a way for me to tell if a particular file is open in another application?
The following thread offers one solution:
http://www.cocoabuilder.com/archive/cocoa/288040-notification-of-file-system-modification-arrives-too-early.html
which might be worth using if proc_listpidspath() is due to become
official API in 10.7. (I believe the Finder has used this interface
since 10.6 to determine whether a disk can be ejected, and if not, it
tells you what app is using it.)
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden