I write about the card game bridge, so I need to automate this formatting all the time:
Find all "♣" and color the text green (#00b700).
Find all "♦" and color the text orange (#ff8100).
Find all "♥" and color the text red (#ff0000).
Find all "♠" and color the text blue (#0000ff).
Screenshot of what the script should do.
@Mark built me a script to do this, but I'm getting this error:
"TypeError: Cannot find function setFontColor in object Text."
Would someone please have a look at the script and try to spot the solution? Thanks