I need to create a temporary document from a current active document. However, the document that I add has different dimensions than my current active document. Obviously, new document is probably default, and my current doc is not.
How can I add a document with identical spread height and width?
Thanks a lot!
It depends on the way you differed dimension of source doc, but you could start with:
var mDoc = app.activeDocument, mTemp = app.documents.add(); mTemp.documentPreferences.properties = mDoc.documentPreferences.properties;
Hi Jarek, thanks.
Bartosz Jarmuż | Business Process Engineer | SDL
SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us.
SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK.