0
Engaged
,
/t5/after-effects-discussions/no-fill-no-stroke-on-text-layer-by-scripting/td-p/13463415
Jan 03, 2023
Jan 03, 2023
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);
TOPICS
Scripting
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
1 Correct answer
Enthusiast
,
Jan 04, 2023
Jan 04, 2023
it's textDocument.applyFill = false;
https://ae-scripting.docsforadobe.dev/other/textdocument.html
Enthusiast
,
/t5/after-effects-discussions/no-fill-no-stroke-on-text-layer-by-scripting/m-p/13463524#M220330
Jan 04, 2023
Jan 04, 2023
Copy link to clipboard
Copied
it's textDocument.applyFill = false;
https://ae-scripting.docsforadobe.dev/other/textdocument.html
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
dbDavideBoscolo
AUTHOR
Engaged
,
LATEST
/t5/after-effects-discussions/no-fill-no-stroke-on-text-layer-by-scripting/m-p/13463646#M220344
Jan 04, 2023
Jan 04, 2023
Copy link to clipboard
Copied
Oh! Thank you, that was easy and I must be tired. It works!
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

