Support > Forums > OpenBots Studio > Open project from command line

Open project from command line

Mark

  • Reporter
  • Calender Icon April 24,2021 at 3:19 PM

I was trying to open my OpenBots project from the command but it started executing the project. Is there a way I can open the project in edit mode?

"C:\Program Files (x86)\OpenBots Inc\OpenBots Studio\OpenBots.Studio.exe" "C:\Users&lt;<REDACTED>>\Documents\OpenBotsStudio\My Scripts&lt;<REDACTED>>\project.obconfig"

This forum has 317 topics, 687 replies, and was last updated 4 months ago by Nataly Alvarado...

Nataly Alvarado...

  • Participant
  • Calender Icon May 04,2021 at 5:18 PM

Hello Mark,

Yes, this information will be included in the documentation. We are currently working on creating documentation that targets more experienced developers.

The default mode is to execute the processes, because currently we use the command line to enable the Schedule feature provided in the Studio. This feature registers a Windows Task Scheduler entry and the created task requires a command line to be executed.

CLI functionality will be added in future versions of OB Studio, by creating a separate CLI tool entirely for the OpenBots suite. For now, based on your suggestion, the dev team will add an additional execution flag to allow for loading directly into projects.

Mark

  • Participant
  • Calender Icon April 29,2021 at 12:33 AM

Yep the installer switches work. Would it make it to the docs somewhere?

Also could you explain why the default mode of for openbots studio is to execute rather instead than giving that to openbots agent?

Nataly Alvarado...

  • Participant
  • Calender Icon April 27,2021 at 4:53 PM

Hello Mark!

Regarding the first inquiry, as of now there is no command to open an OB project in edit mode. As you mention, trying to open the project.obconfig file will execute the process. However, that functionality can be added if requested.

Regarding silent Studio/Agent installation, please run the below command from an admin powershell: & '.\OpenBots Studio Installer 1.4.0.exe' /exenoui /qn

Mark

  • Participant
  • Calender Icon April 26,2021 at 12:50 AM

Also I cant seem to install the studio/agent silently. Any idea how I can get to install silently?

You are not authorized to reply, please click here to login and add your reply to this topic.