${Window} FG Color

A forum for feature requests/discussions and user submitted patches that improve MQ2

Moderator: MacroQuest Developers

Contributing Member
Contributing Member
Posts: 1759
Joined: Sun Apr 17, 2005 1:53 am

${Window} FG Color

Post by dewey2461 » Thu Aug 13, 2020 4:07 am

Some windows like the overseer return the status via the color of some text.

Green = good.
Red = bad.
Grey = Disabled ... etc.

Currently there is no easy way to access this via macro or plugin.


I was looking through the data exposed by the debugger and the FG color reference is available in the window structure as CRNormal.

There is a function used to set it via SetCRNormal()

There should be a function to retrieve it via GetCRNomal() and it should be exposed via ${Window[].CRNormal}