Hello.
At least every one that has the developer tools installed has a copy of make installed with it, others can obtain make from various sources.
Make is a program, that will process actions ” shell commands based on rules in a make file. It mainly process according to rules taking datestamps and the existance of files based on suffix patterns you can define yourself.
Together with lauchd, which can send with it, or invoke a command with parameters in a subdirectory, this should cater for very well defined and easy to use file processing within sub directories. You can even use osascript from within shell files that are called from make receiepes and rules.
The other good thing about make is that i takes include files if you specifiy them, so it is possible to leverage upon previous work if you factor out common parts in a sensible manner.
You can of course store the make file that process the items that are to be dropped on the folder inside the folder for easy access to editing and adjusting your rules.
This of course much more cumbersome than buying something that lets you define rules, but it is a way to do it with what is already in place, (make represents a learning curve). But once you master it, it should be as fast to implement further, with tools like lingon, and a make file template at hand. And you’ll end up with rule based folders that are much more reliable than folder actions.
Examples of such folders coming to my mind, are convering mark down language and TeX documents to pdf, and other document based options.
Droplets are also a good alternative to folder actions. Folder Actions, aren’t and never will be that reliable, not the way I work at least, as I always have to many finder windows open. So, it doesn’t matter whether I have an SSD disk or not; events may be stalled within finder at any moment anyways. Using Folder actions and other means to process those events doesn’t work with finder, and if you do, from osascript, then this won’t trip the launchd process as such, since it doesn’t rely on apple events.
This is an idea that I will work with in the future.