You can do all this, but you'll have to set up a database/store to figure out the differences. I store the nodeID/parentID modDate and attributeChangDate as well as the path in order to get 'Delete' 'Change' 'Move' and 'Rename' - 'Add is simple!

On Oct 24, 2008, at 4:31 AM, Ardian Lazuardi wrote:


Hi Stephen,

On Oct 24, 2008, at 5:13 PM, Stephen J. Butler wrote:

On Fri, Oct 24, 2008 at 3:10 AM, Ardian Lazuardi
<[EMAIL PROTECTED]> wrote:
Is it impossible to hook the copy procedures, such like windows programmers using shellhook, cbthook, or api hook, so that we can intercept the process
before system does?

You've missed the point. There *is* no copy procedure. The best you
get is the FSCopyObject, and there's no way to hook into that.

OK, i got the point.

how about my another question? is it possible to get the filename modified from FSEvent?
By using FSEvent, we can get the changed folder path. Can we get the modified filename exactly (deleted file's filename, created file' filename, etc) ?

_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to