Quantcast
Channel: Adobe Community : Popular Discussions - InDesign Scripting
Viewing all articles
Browse latest Browse all 15932

[JS] delete swatch without replacing

$
0
0

Hello all,

I'm trying to find how to delete color in swatch without replacing with black. When I use this:

 

myDocument.colors.item("test").remove();

 

then my "test" color is replaced with black. Is there any way to delete it by script without replacing (unnamed swatch)?


Viewing all articles
Browse latest Browse all 15932

Trending Articles



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