Converting iMacros to UIVision

Yes.

So with the iMacros scripting interface, in VBS, you used:

varDictionary.Add “username”, WScript.Arguments.Named(“username”)

Ui.Vision supports something similar, but has the fixed ${!cmd_var1} (or _var2 or _var3 values).

So inside your RPA VBS script, add &cmd_var1 + username to the command line (line 115 in this screenshot):

And in the macro, use then ${!cmd_var1} as user name (note that here there is a ! in the variable name, as all internal vars have):

type | id=user | ${!cmd_var1}