I'm beating my head against what I think should be a fairly simple problem:
1. Bridge watches a folder for incoming files.
2. When files are added to that folder, they get loaded into a Photoshop file as a layer stack.
3. A Photoshop Action runs, doing some image adjustments, etc.
4. The processed file is saved as an animated gif.
I found a solution that looked promising here: https://forums.adobe.com/message/4826884#4826884. The first script adds a "Hot Folder" menu item to Bridge. When the hot folder is started, it is supposed to hand off an array of files to the second script, which does the work of opening the files and processing them in Photoshop. It seems like it should work, but I haven't been able to make it fire off that second script, and I can't for the life of me figure out where it's failing. It could be that I'm just not familiar enough with ExtendScript Toolkit to figure out how to debug it usefully.
Any help would be greatly appreciated - pointers toward scripting resources, maybe a different approach to the issue that I may not have thought of - whatever.