str = GetTemplateColorName(nIdx)
This macro function returns the name of the template color of index nIdx.
// get the name of the second template color
sColorName = GetTemplateColorName(2)
// apply this color to the sResult text
FormatText(sResult, 'COLOR(' + sColorName + ')', -1)
The value of the parameter nIdx is limited to the values 1, 2, or 3.
See also: SetTemplateColorName, FormatText and template colors.
Topic 181025, last updated on 19-Apr-2020