Answered
Create new document in milimeters
How to create a new document with measurement units in millimeters using script?
How to create a new document with measurement units in millimeters using script?
var docPreset = new DocumentPreset;
docPreset.units = RulerUnits.Millimeters;
docPreset.width = 210 * 2.8346456;
docPreset.height = 297 * 2.8346456;
docPreset.colorMode = DocumentColorSpace.RGB;
var doc = app.documents.addDocument(DocumentColorSpace.RGB,docPreset);Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.