Mass edit different files
- September 17, 2020
- 2 replies
- 1645 views
Hi all,
I have received .ai files which are illustrations of football/soccer shirts. (See image for an example) Each shirt has a number on the back side and there are 24 different shirts in total. For each shirt I would like to adjust the numbers on the back, so that I have a copy for numbers 1 up until 99 for each shirt, resulting in 24 * 99 = a lot of different files. Doing this manually clearly is a horrible task, so I thought scripting would come in handy.
What I would like to do is the following:
- Open each file (country shirt)
- Run the script which changes the default number 1 to 2
- Center the number (number 3 for instance is wider than 1, so it is off-centered)
- Save copy of the file with name: $country_name$_$number$
- Repeat step 2, 3, 4 until number 99 is reached
- Repeat step 1 for all shirts (this can also be done manually, since doing this 24 times is not too bad)
I might be terrible at searching, but since I'm fairly new to Illustrator I'm not sure which keywords I should look for.
Does anyone have an idea on where to start, or if there's a topic/video of someone doing something similar?

Thanks in advance!
Jeroen
