tapping into finder events

Randall Lee Reetz randall at randallreetz.com
Thu Jan 10 16:02:11 EST 2008


Just because apple has made this area of the event loop more protected doesnt mean it is lower level.  The user events we take for granted (mouse, keyboard, etc.) are lower in the event tree than are file tree events.  We get so used to the arbitrary structure of "what is" that reverence replaces rationality.

The suggestions posted to my questions have all required polling, which is peridic comparison of what was with what is now.  This is scary inefficient compared with getting delta messages as they occure.  Polling for deltas is the very definition of a system that doesn't scale.

-----Original Message-----
From: "Ian Wood" <revlist at azurevision.co.uk>
To: "How to use Revolution" <use-revolution at lists.runrev.com>
Sent: 1/10/2008 2:41 AM
Subject: Re: tapping into finder events


On 10 Jan 2008, at 04:10, Randall Lee Reetz wrote:

> What i am asking is no closer to the os than most anything xtalk  
> does... Its just that it apparently hasnt be asked of xtalk before.

It's MUCH lower-level than most of what Rev does - what makes you  
think it isn't? The fact that the OS-level tool for this has to be run  
as Root is a pretty big clue.
Read the caveat on http://www.kernelthread.com/software/fslogger/ for  
a bit more info.

The only application I can think of on a Mac that does anything even  
*similar* is AEMonitor which is only a developer tool and in any case  
is no longer under development.

> I can't think of anything more useful than being able to use  
> automate file system objects as they are created by the user (in any  
> program).  Am i really the only one who is wishing in this  
> direction?  Imagine something as simple as having every image file  
> tht ends up on the desktop being emeditely moved to the user's
> image folder.  Imagine the spotlight comments fork of that file  
> being auto annotated with relavent ontological trees.  Imagine alias  
> files being auto generated and stored in appropriate project folder  
> trees.  And that is just the beginning.  One could script super  
> complex semantic pattern engines that could extract user interest  
> vectors, auto track resources, and potentially "do some of our work  
> for us".  If apple and microsoft are to scared to build inteligence  
> into their os's... The maybe we could.

Some of this could be done by setting up a series of hot folders and  
sending AppleScript messages to a Rev app. Not ideal, but just about  
doable, and much less of a security risk than setting it up from the  
Rev end.

Ian
_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution





More information about the use-livecode mailing list