xButton.GetText

string xButton.GetText ( 

string ObjectName )

Example 1

bt = xButton.GetText("Woohoo");

Gets the text that is on the xButton called "Woohoo" and stores it in the variable bt.

Example 2

big_butt_text = xButton.GetText("Big Button 4");

Gets the text on the "Big Button 4" xButton object and stores it in big_butt_text.

Example 3

xButton.SetText("xButton2", xButton.GetText("xButton1"));

Sets the text on xButton2 to be the same as the text on xButton1.

See also:  Related Actions