System

Studio Pro activities > OS Automation > System. Includes "Shutdown computer", "Process found?", "Kill process" and "Command Prompt".

Activities

Shutdown computerProcess found?
Log off, restart, or turn off the computerExecute an action in case a specific process is running — and another action in case it is not
Kill processCommand Prompt
Stop a specific processExecute a process using the terminal in the background

Shutdown computer

Description

This activity allows you to log out of your account, restart your computer, shut it down, or put it to sleep.

Parameters

  • Log Out - log out of the system
  • Restart - restart the computer
  • Sleep - go to sleep.
  • Hibernate - put your computer into hibernation mode.
  • Shutdown - shut down your computer.
  • Force apps to close - some running applications may not allow you to shut down or restart your computer. Use this option to force the bot to close applications.
  • Comment - allows you to add explanatory text to a block. The text will be displayed inside the block on top of the action name.

⬅️

Back to the top


Process found?

Description

This activity checks if the specified process is running or not. If at least one instance of the process is running, then the "Yes" branch works, otherwise the "No" branch works.

Parameters

Process name

To find out the name of a process:

Open the "Task Manager" → select the process you want → right-click on it → go to "Properties".

  1. Set a value: allows you to manually specify the process name.
  2. Calculate a value: allows you to use a special formula or a special method to determine the process name.
  3. Save the previous step's result: takes the result of the previous workflow activity as the process name.
  4. Look for all user processes: allows you to find a running process in any active user account.

Comment

Allows you to add explanatory text to a block. The text will be displayed inside the block on top of the activity name.

⬅️

Back to the top


Kill process

Description

This activity stops the specified process. If more than one process instance is running, all instances will be stopped.

Parameters

Process name

To find out the name of the process:

Open the "Task Manager" → select the process you want → right-click on it → go to "Properties".

  1. Set a value: manually specify the process name.
  2. Calculate a value: use a special formula or a special method to determine the process name.
  3. Save the previous step's result: takes the result of the previous workflow activity as the process name.
  4. Look for all user processes: find the running process in any active account.
  5. Forcefully kill: forcibly closes the process.
  6. Kill process tree: closes the process and all of its running child processes.

Comment

Allows you to add explanatory text to a block. The text will be displayed inside the block on top of the activity name.

⬅️

Back to the top


Command Prompt

Description

Implements the command prompt functionality.

Parameters

Command

  1. Set a value: enables you to directly write the desired command, for example, taskkill /F /IM Calculator.exe.
  2. Save the previous step result: chooses the previous activity result as a command.
  3. Calculate a value: enables you to use available properties and methods to form a command.

Execute in background

This option allows you to execute the specified command in the background.

Comment

Contains an annotation to the activity. The input text will be displayed above the activity name.

Result

To store the cmd result in a variable, a user needs to add the 'Assign value to variable' activity after the cmd block, specify the variable name, and choose the 'Save the previous step result' option.

The result is a string. For example, if the whoami command is specified in the 'Command Prompt' activity then the following result will be returned: "desktop-ab1c23d\\demo_user\r\n"

⬅️

Back to the top