Reaching Appearance with javascript
Hi,
My main issue right now is that I am making an automation using code only to create a design. I need to change the text appearance but can't seem to access it from the javascript.
here's what I got so far :
var Text = docRef.textFrames.getByName('someText').textRange;
Text.fillColor = docRef.swatches.getByName('aColor').color;
Text.strokeColor = docRef.swatches.getByName('anotherColor').color;and it works if I don't use the appearance pannel but doesn't if I use it to modify the appearance.
Thing is that my fill color need to be over the outline. I can solve that by creating two text overlaying but I was wondering if it was something that can be done without that.
as always, thanks for your time and help.
