> 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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to