LineTextColor
Returns the text color (hue) of the last matched journal entry.
This property is updated after InJournal, InJournalBetweenTimes, Journal, or LastJournalMessage calls.
Возвращает цвет текста (оттенок) последней найденной записи журнала.
Это свойство обновляется после вызовов InJournal, InJournalBetweenTimes, Journal или LastJournalMessage.
function LineTextColor: Word;
def LineTextColor() -> int: ...
begin
if InJournal('warning') >= 0 then
AddToSystemJournal('Text color: $' + IntToHex(LineTextColor, 4));
end.
if InJournal('warning') >= 0:
AddToSystemJournal(f'Text color: ${LineTextColor():04X}')