Quite an iMacros noob here, so please bear with. I have created an iMacro to do a dumb part of an order system we use that creates a customer then uploads some files. The name of the folder that each customer has is the first four letters of their surname and then the first letter if their first name. This is currently set as a variable via a prompt that appears(See below). How could I set the third variable in the code as the information is already there by that point?
Code: Select all
PROMPT "Please enter First Name" !VAR1
PROMPT "Please enter Last Name" !VAR2
PROMPT "Enter First four letters of LAST NAME and the First Inital, e.g BinnJ = Jeanette Binns" !VAR3
Code: Select all
TAG POS=1 TYPE=INPUT:FILE FORM=NAME:upload ATTR=ID:files[0] CONTENT=C:\MOVIES\{{!VAR2}}{{!VAR1}}\{{!VAR3}}01L.txt
TAG POS=1 TYPE=INPUT:FILE FORM=NAME:upload ATTR=ID:files[1] CONTENT=C:\MOVIES\{{!VAR2}}{{!VAR1}}\{{!VAR3}}02L.txt
TAG POS=1 TYPE=INPUT:FILE FORM=NAME:upload ATTR=ID:files[2] CONTENT=C:\MOVIES\{{!VAR2}}{{!VAR1}}\{{!VAR3}}02R.txt
TAG POS=1 TYPE=INPUT:FILE FORM=NAME:upload ATTR=ID:files[3] CONTENT=C:\MOVIES\{{!VAR2}}{{!VAR1}}\{{!VAR3}}01R.txt