geht hier:
Code:
string Rect1Name="FXVTF1"; //these are colored letters Wingdings "n"
string Rect2Name="FXVTF2";
string Rect3Name="FXVTF3";
color TestBlue=clrBlue, TestRed=clrRed;
Print(" Blue="+IntegerToString(TestBlue)+" Red="+IntegerToString(TestRed) ); //Get values
long T1Color=ObjectGetInteger(0,Rect1Name,OBJPROP_COLOR); //16711680 =Blue 255 =Red
Print(" color "+Rect1Name+"="+IntegerToString(T1Color) );
long T2Color=ObjectGetInteger(0,Rect2Name,OBJPROP_COLOR); //16711680 =Blue 255 =Red
Print(" color "+Rect2Name+"="+IntegerToString(T2Color) );
long T3Color=ObjectGetInteger(0,Rect3Name,OBJPROP_COLOR); //16711680 =Blue 255 =Red
Print(" color "+Rect3Name+"="+IntegerToString(T3Color) );
Die Zahlen sind irgendwelche Farbumwandlungen von HEX zu sonstwas. AVT