Hi,
I've made a grid generator script, in this script I create automaticly a new document.
the script works well if, before running it, there's an active open document, it dosen't work if there're no open document. this is the error II get if there're no document on illustrator:
com.scratchdisk.script.rhino.RhinoScriptException
java.lang.NullPointerException
it's like the script goes on without waiting for illustrator to create the document (that is not instantaneous of course): do I have to stop the script until I create the document? how can I do that?
thanks in advance!