Copy link to clipboard
Copied
Hi all....in previous versions of the Adobe Suite I would take pref files I setup and put them in the User Template on OS X and when students login they get the prefs. With CS6 InDesign is not liking this anymore.
I'm thinking a startup script that runs will be the solution.
All I want to do is set the default to inches instead of points on the startup welcome screen so all students have to do is hit new document with inches already being set as the default.
This scripting for InDesign is all new to me......any have this script already created, I can't believe we are the only ones asking for this, but I can't find much on scripting for InDesign or any helpful scripts.
Thanks,
Dan
Well after searching and searching I may have found something. You can use Applescript and I think this is working for what I want. I need to test it more, but it looks like its doing what I need!
tell application "Adobe InDesign CS6"
tell view preferences
--Measurement unit choices are:
--picas, points, inches, inches decimal, millimeters, centimeters, or ciceros
--Set horizontal and vertical measurement units to points.
set ruler origin to page origin
...
Copy link to clipboard
Copied
Well after searching and searching I may have found something. You can use Applescript and I think this is working for what I want. I need to test it more, but it looks like its doing what I need!
tell application "Adobe InDesign CS6"
tell view preferences
--Measurement unit choices are:
--picas, points, inches, inches decimal, millimeters, centimeters, or ciceros
--Set horizontal and vertical measurement units to points.
set ruler origin to page origin
set horizontal measurement units to inches
set vertical measurement units to inches
end tell
end tell
Copy link to clipboard
Copied
https://github.com/milligramme/extendscript_snippets/blob/master/env/set_app_and_doc_unit.js
Hi
setting units on startup is effective for new document, but if the document already set to other unit, must be changed unit to inch for each.
this javascript I wrote doesn't set units to inches, but will helpful for you.
mg.