Copy link to clipboard
Copied
I have written jsx scripts from existing documents but am having issues creating new objects.
How do I create a new blank portrait document? the app.documents.add() command does not work for me. The results will only contain a single table so I do not think a template is needed.
Copy link to clipboard
Copied
#target framemaker
var doc, PT = 65536;
doc = CustomDoc (612 * PT, 792 * PT, 1, 12 * PT, 72 * PT, 72 * PT, 72 * PT, 72 * PT,
Constants.FF_Custom_FirstPageRight, true);