Button.GetText

string Button.GetText ( 

string ObjectName )

Example 1

bt = Button.GetText("Woohoo");

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

Example 2

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

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

Example 3

Button.SetText("Button2", Button.GetText("Button1"));

Sets the text on Button2 to be the same as the text on Button1.

See also:  Related Actions