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

252

Likes

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

Adobe Community Professional , 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.

Likes

Translate

Translate
Adobe Community Professional , 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.

Likes

Translate

Translate
Adobe Community Professional ,
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

Likes

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
Adobe Community Professional ,
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.

Likes

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.

Likes

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
Adobe Community Professional ,
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

Likes

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
Adobe Community Professional ,
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.

Likes

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?

Likes

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

Copy link to clipboard

Copied

See Rob Day's comment, above.

Likes

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
Adobe Community Professional ,
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

Likes

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