Quantcast
Channel: Adobe Community : Popular Discussions - Photoshop Scripting
Viewing all articles
Browse latest Browse all 12244

delete swatch

$
0
0

Hi.

 

My goal is to have a script that erases all swatches on the Swatches panel.

 

I'm working on a project with maps for lots of different data. The clients gave me jpgs with the map and the legend, and I need to extract the colors in the legends and save them as swatches, so I can export them and use the same collection of swatches in Photoshop and InDesign. To get a swatch collection with only the colors I need, I have to erase all the swatches already on the Swatches panel and then add mine. I've been doing this manually, which is tedious work.

 

I've scripted before for InDesign, but I can't find a way to get manipulate swatches or the Swatches panel in Photoshop. Can anyone help me with this?

Thank you.


Viewing all articles
Browse latest Browse all 12244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>