I was doing some scripting and ran accross something very fun, and thought I would share it with the community. May add some spice to your scripts, however I recommend not abusing it.
In any text Notes, NoteBars, Buttons etc. you can change the color of the text.
It is very usefull when you want to emphasize something.
How you ask?
Just put a \C in the line of text followed by a hexadecimal color value. ie:
"This is the color \C0000FFBlue"
this will look like
<b>This is the color</b> <b>Blue</b>
Everything after the color tag will be the color you selected.
If you want to go back to the default color then you just use \CC0C0C0 (at least on my machine)
so we will add on to the previous like so:
"This is the color \C0000FFBlue \CC0C0C0and the color \C00FF00Green"
<b>This is the color</b> <b>Blue <span class="grey">and the color Green</span></b>
Have fun, and I recommend not getting too crazy with it. You don't want it to be distracting.
In fact these are the only colors I use after playing with it so far.
Orange(keyword emphasis): \CFF8800
White(keynote emphasis): \CFFFFFF
Default(on my computer): \CC0C0C0
Sweet Scripting
Chris Reid
PS
If someone else already found this out, I am sorry to stomp on your parade. I did a quick search and didnāt see anything.
I saw someone had figured out the /C but they didnāt know how to control the color.
I happened accross it by accident when debugging my filenames to the notebar⦠My script ran accross D:/BlahBlah/ā¦/Copy of someFileName⦠and colors were appearing. A little exploration and It was solved.


