There is ObjectSetText(), but where is ObjectGetText()??

 
Is there a way to achieve ObjectGetText()? I have no success with trying ObjectGet(), which returns only double type.
 
jesuscheung:
Is there a way to achieve ObjectGetText()? I have no success with trying ObjectGet(), which returns only double type.

the answer is ObjectDescription(). i must say it wasn't obvious to realize this.

 

Is it what you search ?

string ObjectDescription( string name)
Return object description. For objects of OBJ_TEXT and OBJ_LABEL types, the text drawn by these objects will be returned.
To get the detailed error information, one has to call the GetLastError() function.

Reason: