ntepa wrote: ↑16 Jan 2023, 19:20It looks like this in Windows 11:Code: Select all
#SingleInstance Force CoordMode, ToolTip, Screen ToolTipFont("s14", "Comic Sans MS") ToolTipColor("8080", "white") ToolTip, This is a ToolTip with custom font and color, 0, 0 return
tooltip.png
You need a decoy tooltip line like this, after the Coordmode line.
Code: Select all
CoordMode, ToolTip, Screen
tooltip . ; a decoy tooltip, any text will do, the period is to make it small
ToolTipFont("s14", "Comic Sans MS")
ToolTipColor("8080", "white")
ToolTip, This is a ToolTip with custom font and color, 0, 0
return
Code: Select all
" if !initialize { ; You need to a decoy tooltip each time tooltip have been cleared.
initialize:= 1 " ; if it has not been cleared then you can use TooltipColor just like normal tooltip.
ToolTip_Color_Green() ; this is how i use it, just 2 lines, it include SetTimer, Tooltip_Remove, -1500
tooltip Test - this is green ; which can be overide with a new settimer