Reliably triggering Folder Actions?

Hi all,

I’m having some issues triggering Action Folders - it appears that, I add one item to the folder (or even serveral at the same time), the action are triggered as expected.

However, if items are added one by one with little delay between, the actions just trigger sometimes.

Is there a way to have it trigger more reliably? Having some delay of sorts?

Also: one of my scripts unzips compressed files. I was expecting that the uncompressed folder would be considered an added item and it would perform another action; however, that doesn’t work. Any workarounds?

Thanks!

Use an idle handler that constantly checks if there are files in the folder. If a file is processed, move that file, so it won’t be processed again. Or keep a list of already processed files.