Getting the text of a control. This function can be used on the type of control button and textbox.
ui_get_text (control);
Return: String
Argument control is the control you want.