Events in illustrator
I'm using the next code:
function onLoaded() {
var csInterface = new CSInterface();
csInterface.addEventListener("documentAfterActivate", onDocActivatedChanged);
}
function onDocActivatedChanged(event) {
new CSInterface().evalScript("$il._ext.callFunction()");
}
I have two questions:
- What other events can I use in illustrator?
- How can I use the event return var in the function onDocActivatedChanged?
Best Regards,
vgcouso
