cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

Changing font color

thendricks
3-Visitor

Changing font color

I am working on a macro to apply a "Proof" mark to an Iso file before being made into a PDF. I have the coding done up to the point of changing the text to a 25% grey fill. Perhaps I've been looking at this too long, but I can't find anything to change the font color by macro. When you record a macro, the selection for changing fill is greyed out. I then tried converting to paths and looping through elements, but still could not get the color to change. Any suggestions?
2 REPLIES 2

You could try something like

myTextElement.fill = "{Ref '25% Gray' 100}" 

,

myTextElement.fill = "{Ref '$ISO_BLACK' 25}"

or

myTextElement.fill = "{RGB 191 191 191}"

That worked perfectly. I knew it had to be easy. I must have been staring at the code to long. Thanks.
Announcements

Top Tags