Illustrator Scripting Memory issues - Catch Pop up errors
I’m working with a batch script that processes and expands plugin items. The problem, is when I have over 100 open, app.executeMenuCommand("expandStyle") throws a popup message “Can’t Ungroup the objects.” I can’t skip this by placing the menu command in a try catch. No matter how much sleep and redraw I add to the document it won’t catch up either.
I think I’m experiencing an illustrator memory issue, is there a way to capture this error when it fails so that I can at least get notified in a more descriptive way?
