Skip to main content
arop16461101
Known Participant
March 3, 2017
Question

How to apply swatches into document via script?

  • March 3, 2017
  • 1 reply
  • 3573 views

Every day i have to do this steps many times:

1. Window -> Swatches -> Other Libraries -> "Select MySwatches.ai from Computer".

2. Then i click on swatches to apply them into swatch list

Can u tell me please, how to apply swatches into document via script, if it possible?

This topic has been closed for replies.

1 reply

Silly-V
Legend
March 3, 2017

Yea it's possible, a script can open your swatch file and copy all the swatches over. However, if your issue is putting them into a new document, you could alter one of the new document profiles to include the swatches so that your new default documents will already have them.

arop16461101
Known Participant
March 4, 2017

Hello, dear Silly-V!

Unfortunately, all the documents I work with are not new. Please, tell me how to do this for already created documents.