Re: File Detection
Re: File Detection
- Subject: Re: File Detection
- From: Daryl Thachuk <email@hidden>
- Date: Tue, 29 Apr 2003 11:35:06 -0600
My experience has been that the NSWorkspace notifications only fire
when the change to the filesystem occurs from within your process (your
app). External changes (Finder, etc) are not communicated to you via
NSWorkspace. The only solution I found was to use FNSubscribe but this
also proved to be unreliable 100% of the time.
-d
On Tuesday, April 29, 2003, at 10:20 AM, Andreas Schempp wrote:
Hi
No problem ;-)
[NSWorkspace noteFileSystemChanges:(NSString *)path] is surely not
what you are looking for.
This functin does inform the system that there has been a file system
change at *path*
The system can use this to update finder windows or something like
this, if *path* is open...
Am Dienstag, 29.04.03 um 05:28 Uhr schrieb Anthony Cheung:
Hi Andreas,
Thanks for your help. I have studied NSWorkspace and found that method
noteFileSystemChanged:(NSString *)path. It said it gets the status of
all
the files and directories it is interested in and updates itself
appropriately. Do you think that can help? Do you have some sample
code for
this?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.