Skip to main content
Participant
August 11, 2023
Question

Illustrator Script to Relink Missing Links?

  • August 11, 2023
  • 1 reply
  • 1240 views

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. 

This topic has been closed for replies.

1 reply

m1b
Community Expert
Community Expert
August 12, 2023

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

m1b
Community Expert
Community Expert
August 12, 2023

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