Skip to main content
New Participant
July 25, 2025
Answered

Script How to Image replace, auto and batch?

  • July 25, 2025
  • 1 reply
  • 821 views

I created a template on adobe illustrator with a bunch of clipping masks. I found a script to replace the image link for all 9 clipping masks on the art board at the same time.

 

But to replace the clipping mask image with 1000+ different images from one folder, is there a way to record and batch while also changing the name of the file as the jpg or png file's name?


Here is what I used to fast relink each of the images instead of clicking replace link for individual images : youtube.com/watch?v=DaKv0NqTD88

 

Again my issue is trying to replace each link with over 1000+ images and then saving the adobe illustrator file as a new file with the image link's name using record/batch.

Correct answer freddie_8484

OK, that looks indeed something for a script, a repeated replace of images by each image in a folder.

Hope some of the scripters will react. (I added Script to the title of this post)


I paid for a script to be built. Got it working now, thank you for your responses!

1 reply

Ton Frederiks
Community Expert
July 25, 2025

In recent versions you can click the Apply to All checkbox,  click Replace and select another image. All instances of  the missing image are replaced. But first you need to make them missing.

New Participant
July 25, 2025

This is a solution to fix the missing images, I think what I need is a script to automate my workflow by selecting all the clipping masks > replace each link with images from a folder > then save it as a new .ai file

Ton Frederiks
Community Expert
July 25, 2025

I may not understand it correctly, but "replace each link with images from a folder" is what you can do as I described.