At 01:11 PM 3/7/2012, you wrote:

> > I'm running 10.5 and using the example pretty much verbatimÂ….
> > This is the incoming Flags to the Callback, not the EventID. Couldn't
> > get anything except 0x10 when the app starts, though I tried just
> > about everything.
>
>On Mac OS X the flags report only errors, so you 
>have to figure out yourself what happened.

The doc says: "Flags: Flags to specify why the 
event was called. If no flags are set, then there 
was some change in the directory at the specific path supplied in this event."

So it's the EventID where all the action is? I 
always get these large numbers like 0x2CC8D3 
which don't seem to line up to the File Event 
Flags (which I assume lines up to the EventID).

kFSEventStreamEventFlagItemChangeOwner   &h00004000  File changed owner
kFSEventStreamEventFlagItemCreated       &h00000100  File created
kFSEventStreamEventFlagItemFinderInfoMod 
&h00002000  File meta data in Finder info have changed
kFSEventStreamEventFlagItemInodeMetaMod 
&h00000400  File meta data in inode have changed
kFSEventStreamEventFlagItemIsDir         &h00020000  File is a folder
kFSEventStreamEventFlagItemIsFile        &h00010000  File is a regular file
kFSEventStreamEventFlagItemIsSymlink     &h00040000  File is a symlink
kFSEventStreamEventFlagItemModified      &h00001000  File modified
kFSEventStreamEventFlagItemRemoved       &h00000200  File deleted
kFSEventStreamEventFlagItemRenamed       &h00000800  File renamed
kFSEventStreamEventFlagItemXattrMod 
&h00008000  Extended attributes changed

Unless I'm being lazy and they actually do. Is 
there a lot of junk that doesn't pertain to us in the EventID?

Or I'm totally wrong, after thinking about it I 
guess FSEventsMBS doesn't really give the 
information about what happened, but yet what are 
the File Event Flags and how do they enter into 
the situation? At least with Lion we know what 
FILE triggered the event, but short of that (and 
I have to concern myself with that) we just know 
SOMETHING happened in the folder, but we don't know what?

Plus, in Tiger is there any mechanism like this, 
other than FolderChangedNotificationMBS, which 
doesn't do the job on the system level anyway?



Garth Hjelte
Sampler User

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to