Question
Problem setting units of measurements when creating the doc.
When setting up document preferences for a new document how do I set the unit of measurement to inches? This is what I have and it does not work.
var doc = app.documents.add{(
documentPreferences: {
horizontalMeasurementUnits: MeasurementUnits.INCHES,
verticalMeasurementUnits: MeasurementUnits.INCHES,
pageWidth: documentWidth,
pageHeight: documentHeight,
documentBleedTopOffset: bleed,
documentBleedUniformSize: true,
facingPages: false,
}
});