Citrix get and update value from selectable text box

citrix
studio
variable

#1

Hello,
I need update value in selectable text box in Citrix.

In this field, numbers in such format can be expected:
0
0.00
or Empty field

The procedure is as follows

  1. Click on the text box
  2. Send Ctrl + C and Set to clipboard …
  3. Add new value to an existing one
  4. Send Ctrl + V and Get from clipboard …

What type should be a variable X that holds the copied value?
and what to do if there is no value to copy (add 0 to variable X?)

The value we add is retrieved from Excel file (row.Item(0)),
how to properly add it to the variable X ?

thank you
Mac