Replace Images
Replace the selected image to another file, using the file name as a reference
This script is useful, for example, to temporarily replace image files into lighter files when the image files are too large and the work becomes too heavy. You can generate a batch of low-resolution images in advance using photoshop or other software, and then use this script to replace them all together
What is Replace Images?
This script replaces the selected image to another file, using the file name as a reference. The user must prepare the images to be relocated in advance
If the original file name is image01, image02, image03... replace as follows image01_low.jpg, image02_low.jpg, image03_low.jpg...
The rule for replacing a file is the original filename + ”_low”
If you are free to set any filename you may misplace the image or lose track of the filename. To prevent such problems, we fix the file name to ”_low” to keep it safe
Advance Preparation
If you use this script, prepare in advance a folder of images to be replaced. Copy the original image files into the folder, and change the resolution, etc. Then, convert the original file name + ”_low” to the new name. (adobe Bridge is useful for renaming)
Run this script when you are ready in advance
Palette Description
1
Select to replace from the original file to the [_low] file or from the [_low] file back to the original file
2
Preview the file name before and after the change
If there is a missing image, an (X) mark will appear after the file name
3
Select the folder containing the images to be replaced
Default is the same hierarchy as the folder containing the ”.ai” file
4
List missing files
If a file is missing, it is ignored
5
Cancel/Run
Clicking Run executes the script; clicking CANCEL closes the dialog
6
Progress is displayed on the progress bar during execution
Copyright © 2021 p1-script All Rights Reserved.