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

Check links before openning documents customization

New Here ,
Oct 19, 2020 Oct 19, 2020

Copy link to clipboard

Copied

Hi,

 

Is there any way to affect which links InDesign will check when openning a document?

I would like it to not check for any files that start with imlink://

 

Thanks,

-kimmo

TOPICS
How to , Scripting , SDK

Views

425

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 2 Correct answers

Community Expert , Oct 19, 2020 Oct 19, 2020

A script could turn off the link checking preference, listen for an open event,  loop thru the links, skipping any link paths starting with imlink:, and getting the status of the others.

Votes

Translate

Translate
Community Expert , Oct 20, 2020 Oct 20, 2020

@Sunil Yadav "Use this code to turn it on or off:" Your line turns it off only 🙂

 

For a toggle, use 

app.linkingPreferences.checkLinksAtOpen ^= 1

 P.

Votes

Translate

Translate
Community Expert ,
Oct 19, 2020 Oct 19, 2020

Copy link to clipboard

Copied

You can set preferences to skip checking links, but it is all or nothing.

Mike Witherell

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
Community Expert ,
Oct 19, 2020 Oct 19, 2020

Copy link to clipboard

Copied

A script could turn off the link checking preference, listen for an open event,  loop thru the links, skipping any link paths starting with imlink:, and getting the status of the others.

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
New Here ,
Oct 19, 2020 Oct 19, 2020

Copy link to clipboard

Copied

Thanks @rob day! By any chance you happen to know anyone who would be able to create such a script and what it would cost? That might be a bit too hard learning experience for me at this point.

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
Advocate ,
Oct 19, 2020 Oct 19, 2020

Copy link to clipboard

Copied

Use this code to turn it on or off:

 

//====================================

app.linkingPreferences.checkLinksAtOpen = false;

//====================================

 

Best

Sunil

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
Community Expert ,
Oct 20, 2020 Oct 20, 2020

Copy link to clipboard

Copied

@Sunil Yadav "Use this code to turn it on or off:" Your line turns it off only 🙂

 

For a toggle, use 

app.linkingPreferences.checkLinksAtOpen ^= 1

 P.

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
New Here ,
Oct 20, 2020 Oct 20, 2020

Copy link to clipboard

Copied

Thanks! Is there a toggle for just checking image/graphics links and ignoring rest?

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
Community Expert ,
Oct 20, 2020 Oct 20, 2020

Copy link to clipboard

Copied

See Rob Day's comment, above.

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
Advocate ,
Oct 20, 2020 Oct 20, 2020

Copy link to clipboard

Copied

LATEST

@Peter Kahrel I am your huge fan🙂

Yes, I meant to say that for turning off you'll put false & for turning on you'll put true.

Isn't is that simple..

 

Sunil

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