Re: [OT] "Message" when file created.
Re: [OT] "Message" when file created.
- Subject: Re: [OT] "Message" when file created.
- From: Le Stang Jean-Baptiste <email@hidden>
- Date: Fri, 29 Jul 2005 14:55:32 +0200
I seem to remember that there's a low level system message created when a file is created. Basically, when a file is created the system notices and does something which can be hooked into by other apps. Does this ring any bells with anyone? If so, can you point me in vaguely the right direction (a starter would be to get the terminology right!).
I'm not sure this is really the best place to talk about that, but you can have a look to 'kqueue(s)', that were introduced in Mac OS X.3, 'kqueue(s)' can detect file creation, file modification, and many other events related to file I/O. (could be a very good companion to folder actions) :
This sample includes a detailed PDF report explaining kqueue(s) . I'd have thought that spotlight would use such a mechanism to index new files. Anyway, if I'm completely wrong here, let me know so that I don't waste any more time!
Well, do we really know what is running behind the scene?
++ JB (really curious about what is running behind the scene)
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden