Script to set new doc to inches?
Working with a third part extension that always creates new doc's as points.
I was thinking of startup script that "after new" would:
set horizontal measurement units to inches
set vertical measurement units to inches
but i am not sure how to write it??
below is a script another person created but if i read it correctly it "views" the prefs?? maybe i am misunderstanding the use of "view"
tell application "Adobe InDesign 2023"
tell view preferences
set ruler origin to page origin
set horizontal measurement units to inches
set vertical measurement units to inches
end tell
end tell
i thought possibly i would write
tell application "Adobe InDesign 2023"
set myEventName to {"afterNew"}
repeat with myEventName
make event listener with properties {event type:myEventName, handler:"?"}
end repeat
end tell
its been awhile since i did any scripting. any ideas??
