Hello All,
I would like to resize Active document pages which are non-A4 letter size into A4 letter size using vbscript.
Can someone please suggest how to do this or any references for this?
Thanks,
Shail
Resizing Active Document Pagesin JS you would do:
var myDocument = app.activeDocument;
myDocument.documentPreferences.pageSize = ''A4''; // I dont know if this requires a preset of the name A4 to exist, else use pageHeight and pageSize instead.
Resizing Active Document PagesHello Nielsen,
Is this also resize the text frames?
Thanks,
Shail
No it will not resize any content - I think you should have a look at the option found in Indesign under ''Layout -%26gt; Layout adjustment'', i guess this is what you are looking for.
I have not tested, but perhaps enabling the layout adjustment, will also take effekt when changing doc size from scripting.
Try it :-)
Just FYI, in Javascript that would be
app.activeDocument.layoutAdjustmentPreferences.enableLayoutAdjustment = true;
Change the camelCase where necessary
No comments:
Post a Comment