Hi all,
I am working on a task which needs to automatically check certain information of the document upon user save or export an Illustrator document, e.g., check the size of the artboard or file metadata and inform the user if the document doesn't conform to the standard.
As of now I have not find any way to register a callback only within a jsx script. When I was investigating on CEP, I find it is possible to register callback to certain event, includes "documentAfterSave" but not before save. The available events are very limited. May I know whether there are available events that are not dcoumented here ?
Also great appreciate if anyone can provide insight on what's the best way to accomplish this task.