Adobe Illustrator Coder Needed to write small script
$10-30 USD
Closed
Posted almost 4 years ago
$10-30 USD
Paid on delivery
I have an illustrator file (contact me I will send it to you, its very basic though)
It has a layer with a text box with a number combination like `2R10-000`.
I need a script to change the number after the dash based on a range and save it as a file.
Like: 2R10-000, 2R10-001, 2R10-002, 2R10-003, etc..
Notice the number is padded with zeros, this is important.
Before the file is saved the letter-spacing needs to be changed on the text box layer.
The letter spacing is based on the number of characters in the text box because there can be either 6 or 7 characters. But it's also based on if the text ends with a 1 or not.
Here are the rules for you to follow to apply the letter spacing:
6 chars + no 1 at end = 86
6 chars + 1 at end = 106
7 chars + no 1 at end = 26
7 chars + 1 at end = 46
After the change is made, the file need to be saved with the same name as is in the text box like: [login to view URL] or [login to view URL]
After I run the script I should have all the files in a folder within the range i specify in the script.
I don't need anything fancy I can make adjustments needed once I have a good starting point.
To summarize:
1) Loop a number range
2) Edit text layer
3) Adjust letter spacing
4) Save new file