• 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: Is a file open in another application?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Is a file open in another application? (From: Brad Stone <email@hidden>)

  • Prev by Date: Visual feedback of invalid cell data from Core Data - how to?
  • Next by Date: iPhone animation puzzle
  • Previous by thread: Re: Is a file open in another application?
  • Next by thread: Re: Is a file open in another application?
  • Index(es):
    • Date
    • Thread