Minimize UI.Vision window

I’m starting UI.Vision from a .ps1 batch:
$ags = ‘file:///’ + $uivisionPath + ‘/ui.vision.html?macro=mymacro&closeRPA=1&closeBrowser=1&direct=1&storage=xfile&nodisplay=0&cmd_var1=1’

I have the need to have the UI.Vision windows that’s opening to run minimized, such that the invoked web page is fully visible while my macro executes. Is there a switch or a command? - If not, I will use autohotkey, wait for the UI.Vision windows to appear and minimize it right away.

use this command in macro

   {
      "Command": "bringBrowserToForeground",
      "Target": "",
      "Value": "",
      "Description": ""
    }
1 Like