Sg2.9
Fill Color + spot +global [CS...
Recent RSS
Fill Color + spot +global [CS2/2.0.025(3)]
From:  Steve Light
Date:  9. November 2007, 08:57

Create CMYK swatch, create rectangle, select rect, fill with new swatch and run code:

if (activeDocument.selectedItems[0].style.fill.color){
Dialog.alert('Filled');
}else{
Dialog.alert('without Fill');
}

Next step: select rect and change new swatch (turn on Global option).
returns 'without Fill', why?
Same 'problem' occurs with SPOT color.

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
Cross Hatch Raster 15.03.12