Want to learn more about variables and usage sample of Set Variable operation
Q. Why are variables useful? Can you give easy examples as to how to use STU variables involving Set Variable operation?
A. Please refer to below
1. Text
When you use a value over and over through out one bot, use of a variable can save you a lot of time and efforts when the value needs to be updated. In this case, the "Text" option is a good choice. Just make a change at this one operation and the value over the entire bot will reflect the change.
2. Clipboard
Windows' clipboard can hold data/value that can be used in the bot. However, the clipboard data and value can be changed unexpectedly by someone or some app without notification especially when the bot is working in the background. Saving the data/value immediately to bot's variable will hold the data/value without risk.
3. Saved Text
Saved Text is where the OCR operation saves its result. Saving it immediately to a variable allows to use he OCR result with the following operations. This is especially handy when a bot runs the OCR operation consecutively.
4. Clear Variable
This option makes sure the variable contains no data/value at the initial phase of the bot execution. Computer systems some times leave a ceratin data/value in memory (left over garbage) and the clear operation makes sure it contains nothing.