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

Script for 'Check Links Before Opening Document' preference

Explorer ,
Feb 18, 2013 Feb 18, 2013

I'm trying to find the VB script for changing the "Check Links Before Opening Document" checkbox on the File Handling panel in the Preferences dialog? I haven't found any documentation referring to the Links items on that panel.

Bob

TOPICS
Scripting
1.3K
Translate
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

Enthusiast , Feb 18, 2013 Feb 18, 2013

Hi,

Javascript:

with(app.linkingPreferences){

   

    checkLinksAtOpen = true;

    findMissingLinksAtOpen = true;

    }

Guess you'll find it now

Translate
Enthusiast ,
Feb 18, 2013 Feb 18, 2013

Hi,

Javascript:

with(app.linkingPreferences){

   

    checkLinksAtOpen = true;

    findMissingLinksAtOpen = true;

    }

Guess you'll find it now

Translate
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
Explorer ,
Feb 19, 2013 Feb 19, 2013

Thanks for the info.

Was there a document you pulled this from?

I have an old document from CS2 days that is invaluable for providing a detailed list of available script methods and properties. Obviously things that have been added in subsequent InDesign releases aren't in this document. Later InDesign CS releases offer script SDKs that contain helpful sample scripts but I don't find a detailed summary similar to one from CS2. Have I just not found them? Or how does one find the script method/property for things not contained in the sample scripts?

Translate
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
Valorous Hero ,
Feb 19, 2013 Feb 19, 2013
LATEST

The best InDesign JavaScript Reference Guide (by Jongware) is here. Alternatively you can use the built-in Object model viewer in ESTK, but it's an awkward implement. References in PDF-format are unavailable since CS3.

Translate
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