Label.GetText

string Label.GetText ( 

string ObjectName )

Example 1

text_mex = Label.GetText("Mexico");

Gets the text that is currently displayed in the label object named "Mexico" and stores it in a variable named "text_mex."

Example 2

song = Label.GetText("Current Song Name");

Gets the text in the "Current Song Name" label object and stores it in a variable called "song."

See also:  Related Actions