Calling Command by API

Hello,
I would like to ask if its possible somehow call only command with some parameter throught API (for example XRun with target) with not creating a new macro. Is there any way to do this? I wasn´t able to find much informations about API.

Sending commands directly by API is a very good idea and on our todo list. But it is not supported yet .

The recommend workaround is:

  • Your script can save the macro command as a small JSON file e. g. c:\rpa\temp-macro.json and then call this temporary macro via the command line:

“C:\Program Files\Mozilla Firefox\firefox.exe” "file:///c:/test/ui.vision.html?macro=c:\rpa\temp-macro.json&cmd_var1=another-string&closeRPA=1&closeBrowser=1&direct=1

Thank you very much for your answer.

You can use the executeScript command + some Javascript to call any API directly from within Ui.Vision. See my api call post.