Setting Document Measurement Units


dear forum gods,

 

i trying use vb script set believe measurement units - is, units displayed on horizontal , vertical rulers when opening document. according scripting guide:

 

mydocument.viewpreferences.horizontalmeasurementunits = measurementunits.inches
mydocument.viewpreferences.verticalmeasurementunits = measurementunits.inches

 

this not appear anything.

 

log reports error 30480 -- cannot find information on.

 

your appreciated!

are looking @ vb reference? yur line looks suspiciously javascript line, , javascript nothave  same syntax vb.

 

a quick google turned cs5 vb reference; measurement example on p. 28, different wording.



More discussions in InDesign Scripting


adobe

Comments

Popular posts from this blog

Falang and too many redirects - Joomla! Forum - community, help and support

Infinite loop detected in JErrorInfinite loop detected in JError - Joomla! Forum - community, help and support

logged out from joomla! - Joomla! Forum - community, help and support