Hello,
Looking at your requirement, try using our advanced automation product, Automation Anywhere 5.0 that do provides variable support.
Automation Anywhere provides you with a list of predefined variables called System Variables. You can also create your variables under User Variables (under Tools->Variable Manager) and assign the values. You can use your variable in any number of tasks.
Automation Anywhere lets you use your variables in several actions like Keystrokes, Open Programs/Files, Files/Folders, Insert Prompt, etc. Automation Anywhere always puts the variables between the ‘$’ signs for e.g. $Your-Variable$. The ‘$’ sign before and after the variable name informs Automation Anywhere to treat the text in between the ‘$’ signs as variable and not treat it as any other text. During the execution of the task, Automation Anywhere replaces the variable name with the actual value of the variable.
You can view following demo, which will help you understand, how to use variables in task.
http://www.tethyssolutions.com/AAVariables.html
You can download free version of Automation Anywhere 5.5 from our website:
Automation Anywhere - The Leading Automation Software
Hope that helps.