Page 1 of 1

Copy Variable to Variable

Posted: Fri Nov 25, 2005 6:19 am
by Nickel Plate
Is there anyway i can copy contents of one variable to another variable.
I copy software from internet each night which as a number as part of file name, have got two variables "OLDNUMBER" and "NEWNUMBER", so i would like to copy new into old at the end of the download so i do not have to look up old number each night

Copy Variable to Variable

Posted: Fri Nov 25, 2005 7:22 am
by Oleg
It is "Set Variable" action.
You should use the following parameters:
Variable Name - OLDNUMBER
Variable Value - {NEWNUMBER}
Expand Variable Value - ON // It is required

When you turn on "Expand Variable Value" parameter, RoboTask expands value before assigning. Otherwise value will be assigned "as is".