Get Control Class

 

This command places the class name of the control into a text string variable. In the example below, when selecting a control, a class name for the control is listed. For example if capturing a button as a control variable, such as %control% in the example below, the class name very likely would be "Button". The class name of "Button" would be saved to text string variable %T[1]% based on the image below.

 

 

Script Editor > Expand Variables Category > Get Control Class

 

 

Place Text in Variable

Select the text string variable to receive the control class information.

 

 

Retrieve the Class From

Select the control variable that contains the class information to be passed to a string variable.