I tried this line :
which does set the origin to spread but does'nt reset zero position if it had been moved by hand before.
Is it possible to script it ?
@Nicolas – to do that, you have to set the property "zeroPoint" of the "Document" object to [0,0].
app.activeDocument.zeroPoint = [0,0];
you are interested in app.activeDocument.zeroPoint
Uwe.. you are ninja fast!
Message was edited by: Vamitul