Variables
Variables are data values that can change during the execution of an automation, based on user input.
Variables are selected from the Toolbox. Variable properties are configured in the
Property Grid.
- Boolean variable
Use the Boolean variable to connect Boolean output to another componentor to statically set a Boolean value to either True or False in an automation.
- Char variable
The Char variable is used for single characters or letters.
- Color variable
Use the Color variable to set the color of another Studio object.
- DateTime variable
Use the DateTime variable to convert an input type such as String to the DateTime type.
- Double variable
Use the Double variable to convert or set a Numeric type into a Double Precision type.
- Font variable
Use the Font variable to set the font of another object. You can choose from any of the Windows fonts which appear in the Font window. You must be able to connect the Font variable to a component that receives a Font input type.
- Integer variable
Use the Integer variable to convert or set a numeric to an Integer type.
- RichText variable
The RTF (Rich Text Format) variable accepts text in RTF format and outputs the text in RTF format. The variable can only receive RTF formatted text and will fail if you try to connect non-RTF data to it.
- String variable
Use the String variable to set a string value and perform methods on the variable. The value of the string variable changes as string variable methods are called.
- Variable properties, methods, and events
Variables have their own set of methods to manipulate their values.
Previous topic Use case: using a StartMyDay service in an automation Next topic Boolean variable