Re: File System Notifications

2008-06-19 Thread Jens Alfke
On 17 Jun '08, at 7:04 PM, Omar Qazi wrote: can I use those to get a notification when another application opens a file? If not is there any way I can achieve this? No. You can't get notifications with that fine a granularity, because if the OS sent them, everything would slow to a crawl u

Re: File System Notifications

2008-06-18 Thread Jean-Daniel Dupas
Le 18 juin 08 à 04:04, Omar Qazi a écrit : I'm a little confused about file system notifications in Cocoa. In NSWorkspace, it says that the method for subscribing to file system notifications will always return NO, which seems useless to me. I know Carbon has the FNSubscribe(

Re: File System Notifications

2008-06-17 Thread Stephen J. Butler
On Tue, Jun 17, 2008 at 9:04 PM, Omar Qazi <[EMAIL PROTECTED]> wrote: > I'm a little confused about file system notifications in Cocoa. In > NSWorkspace, it says that the method for subscribing to file system > notifications will always return NO, which seems useless to me. I k

File System Notifications

2008-06-17 Thread Omar Qazi
I'm a little confused about file system notifications in Cocoa. In NSWorkspace, it says that the method for subscribing to file system notifications will always return NO, which seems useless to me. I know Carbon has the FNSubscribe() and FNUnsubscribe() functions, but can I use tho