Last active
July 19, 2021 02:11
-
-
Save monokano/4531966aeec25dff4c5e774709bb74a3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Script for Illustrator | |
// Replaces all spaces in the selected swatch name with underscores. | |
selSwatches = app.activeDocument.swatches.getSelected(); | |
for(i=0; i<selSwatches.length; i++) { | |
selSwatches[i].name = selSwatches[i].name.split(" ").join("_"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment