• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How to script Indesign CS6 to use inches as default on startup

Guest
Feb 19, 2013 Feb 19, 2013

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

TOPICS
Scripting

Views

3.5K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Deleted User
Feb 19, 2013 Feb 19, 2013

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

        

...

Votes

Translate

Translate
Guest
Feb 19, 2013 Feb 19, 2013

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Feb 20, 2013 Feb 20, 2013

Copy link to clipboard

Copied

LATEST

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines