Cmd_var1 question

Hi Wilson,

I’m having the same issue - the cmd_var doesn’t pass through to the macro.
Any thoughts of how to bypass this issue?

Help would be much appreciated.

Thank you,

Rami

Hi Rami,
Unfortunately, I still have the problem, tried a lot of options and cannot figure out what to do to solve it.
Product documentation is contradictory because it calls the mode that works deprecated but the new mode does not work at all. Even utilizing the deprecated mode the cmd_var doesn’t pass through to the macro.
I hope that the support people chime in and help us on this.
Sorry I could not help.
Wilson

What exactly does not work? All works fine in my test:

Command line:

REM command line
REM We use %%20 for space (double %) because % needs to be escaped in batch file
"C:\Program Files\Mozilla Firefox\firefox.exe" "file:///C:/test/ui.vision.html?direct=1&macro=test1&cmd_var1=hello%%20world&cmd_var2=abc&closeRPA=0&closeBrowser=0&storage=xfile&savelog=log-2021test1.txt"

Macro:

{
  "Name": "test1",
  "CreationDate": "2021-5-27",
  "Commands": [
    {
      "Command": "open",
      "Target": "https://ui.vision/contact",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "echo",
      "Target": "von cmdline: ${!cmd_var1}",
      "Value": "green",
      "Description": ""
    },
    {
      "Command": "echo",
      "Target": "von cmdline: ${!cmd_var2}",
      "Value": "blue",
      "Description": ""
    },
    {
      "Command": "type",
      "Target": "id=ContactName",
      "Value": "${!cmd_var1}",
      "Description": ""
    },
    {
      "Command": "type",
      "Target": "id=Email",
      "Value": "${!cmd_var2}",
      "Description": ""
    }
  ]
}