Inspiring
January 8, 2023
Answered
Automate color Swatches object
- January 8, 2023
- 3 replies
- 1071 views
I'm looking for a way to automate a task in illustrator
I have several files with colours pallets and swatches, mostly gradients ( I mean thousands of them)
Id like my scrip to do this :
- create a grid of 100 x 100 pixel squares spaced by 20 pixels each
assign each square to a different swatches
so the end result will be a grid of squares, with each one of them has a different swatches that reflect my Swatch panel library for this document
is it possible to automate this via actions or scripts ? it is out of my knowledge base and I haven't found any automation process on YouTube or elsewhere on the internet
Thx
Ps here is an example where I did it manually by selecting a shape and clicked on a swatch
