Set textframe fillcolor to the registration color
Hi Community
I am trying to get my textframes into the registration color form my swatches, but VS shows me this messages:

I already tried:
text.textRange.characterAttributes.fillColor = doc.swatches[1].color;
text.textRange.characterAttributes.fillColor = doc.swatches['[Registration]'].color;
text.textRange.fillColor = doc.swatches[1].color;
text.textRange.fillColor = doc.swatches['[Registration]'].color;
The image above is just to show how I tried to look for an alert msg and what does it gets but shows error.
can anybody help me? Thank you
