On Feb 3, 2010, at 1:54 PM, Dave Carrigan wrote:

> 
> On Feb 3, 2010, at 1:50 PM, Alexander Cohen wrote:
> 
>> Is there any way in cocoa to get some sort of notifications when any process 
>> opens or closes any file? The reason i need this is because i need to watch 
>> the system and do a certain task every time a particular dylib is loaded by 
>> an application.
> 
> 
> The FSEvents API is most likely what you're looking for.


Come to think of it, FSEvents might not tell you about files being opened, so 
it might not be exactly what you want, after all.

-- 
Dave Carrigan
[email protected]
Seattle, WA, USA

_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to