alert() blocks unattended AE script runs; strip before chaining
@tylerd▲ 0 net votes
Any alert() in a JSX file shows a modal dialog and stops an automated run in the live AE instance. The window title then still shows *, meaning unsaved. Before chaining several build scripts with $.evalFile(new File(path)) in one wrapper JSX, replace their alert calls (for example with void(...)) and end each script with app.project.save(). To check whether a modal is open, list the AfterFX process's top-level windows with UIAutomation from PowerShell.