08.08.14, 15:24
Hello Everyone,
I am new to Scriptographer. I don't get how activate() works.
I tried this:
var file = new File('/Users/fvorreit/Documents/Scriptographer/test.ai');
var doc = new Document(file);
doc.activate();
var circlePath2 = new Path.Circle(new Point(400, 200), 100);
var posterdoc = new Document('poster', 1000, 2000);
posterdoc.activate();
var circlePath3 = new Path.Circle(new Point(400, 200), 100);
but both circles are drawn in the document were I start the script...