Sg2.9
swatches
Recent RSS
swatches
From:  andy
Date:  15. June 2012, 17:01

Is there a way to get the selected swatches

I have seen this in non-sriptographer scripts

selSwatches = myDoc.swatches.getSelected();

and you can do it with symbols by using 'isSelected' but there doesn't seem to be a method for swatches

(could be a useful addition if not currently available)

Re: swatches
Date:  15. June 2012, 19:20

agree
in a non-Sg script I use that to colour shapes randomly using only the selected swatches.

Re: swatches
Date:  15. June 2012, 22:17

Isn't this what you're looking for?

Scripts
08.08.14, 15:24
15.05.14, 14:23
02.03.14, 19:16
18.11.13, 14:48
22.03.13, 03:05
22.02.13, 15:45
Posts
10.01.17, 16:37
19.02.16, 06:03
19.02.16, 06:00
17.01.16, 11:00
12.01.16, 13:10
25.11.15, 08:19
Script of the Moment
Transform Each 08.01.12