How can I run UiRobot.exe in a hidden window?

UiRobot.exe always seems to open in an empty command window.
Is there a way to run UiRobot.exe as a hidden or minimized window?
uirobot-window

This suggestion does not work or me. ( UiRobot.exe argument to hide or minimize the UiRobot window?)

1 Like

Try

Dim WShell
Set WShell = CreateObject("WScript.Shell")
WShell.Run "(YourInstallationPath)\UiRobot.exe -file (PathOf)\project.json", 0
Set WShell = Nothing

Save as myLaunchScript.vbs and run it
wscript myLaunchScript.vbs

1 Like

Thank you for the suggestion.
But is there no /min argument for UiRobot.exe?

Minimizing the startup speed is important, so the less additional code to simply run UiRobot, the better.

The window is not robot’s window (robot has no UI) but the command prompt’s window in which context the robot is running.

But there is a trick how to start command prompt minimized:

Cheers

2 Likes

I used the powershell solution described in your link.
However, this does not fully hide with popup command window, but it does vanish shortly after showing.
Thank you.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.