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

Illustrator Script to Relink Missing Links?

New Here ,
Aug 11, 2023 Aug 11, 2023

Copy link to clipboard

Copied

Links are images that are all always in the same specific file path.

 

Issue I'm having:

I reopen an ai file that has a linked image. Every time, the image is missing the link and I have to manually relink it. Every image is in the same folder so it shouldn't be losing the link in the first place. I want a JavaScropt script that automatically relinks the missing link by checking that specific file path for the file name. 

TOPICS
Bug , How-to , Import and export , Scripting

Views

95

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 Expert ,
Aug 11, 2023 Aug 11, 2023

Copy link to clipboard

Copied

Hi @Kelsey96, so if you open a document, it warns you that links are missing... if you then re-link those files (manually using the relink button in Link Panel) and then save and re-open the document, does it still show them as missing?

 

If not, can you post screenshots of:

1. the link panel showing the full path (click the Show Link Info arrow in the bottom left of Link Panel), and

2. the path to the document shown in the Finder (MacOS) or Windows Explorer?

 

Then it might be possible to help.

- Mark

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 ,
Aug 11, 2023 Aug 11, 2023

Copy link to clipboard

Copied

LATEST

Also, I wrote a script for another thread that may help. Can you try that? You need to set the findWhat and changeTo variables in my script so that the replacement results in a valid path.

- Mark

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