Example 2: Assign the value of a variable to Clipboard so that the value can be directly pasted
using Ctrl + V after the task is over.
- Open the Task Editor from Tools -> Task Editor.
- Double click on the 'Clipboard' command.
- Specify 'Assign To Clipboard' option.
- Select the variable from the drop down list whose
value you want to assign to the Clipboard.
- Click on 'Save' button.
- At the end of the task if you want some data into the Clipboard,
then you can use this command so that as soon as the task finishes you
can simply use Ctrl + V to get the data pasted in the desired application for e.g. email client.
Example 3: Compare two cells of an Excel document
by assigning the value of Clipboard to a variable.
- Open the Task Editor from Tools -> Task Editor.
- Double click on the 'Clipboard' command.
- Specify 'Assign From Clipboard' option.
- Select the variable 'Cell1' from the drop down list.
- You can assign values from Clipboard only to 'Value' type variables
and not to 'List' or 'Random' types.
- Click on 'Save' button.
- Similarly assign the value of Clipboard (After performing Ctrl + C
operation) to another variable 'Cell2'.
- Perform the comparison operations on variables Cell1 and Cell2 as per
your need.