Copy link to clipboard
Copied
Hi all,
I can't find a way to set a no fill color / no stroke color on a text layer.
I can change the color, but the RGB color doesn't accept an alpha value. I tried with .setApplyFill(false) but it doesn't seem to work. Any ideas?
var mySourceText = layer.property("Source Text");
var textDocument = mySourceText.value;
// THIS CHANGE THE COLOR CORRECTLY
textDocument.fillColor = RGBcolor;
mySourceText.setValue(textDocument);
it's textDocument.applyFill = false;
https://ae-scripting.docsforadobe.dev/other/textdocument.html
Copy link to clipboard
Copied
it's textDocument.applyFill = false;
https://ae-scripting.docsforadobe.dev/other/textdocument.html
Copy link to clipboard
Copied
Oh! Thank you, that was easy and I must be tired. It works!