Skip to content

System

You can use these features to run a file, find an active process, and finish it.

Executing a file

# Opens the Notepad app.
bot.execute("C:\\Windows\\notepad.exe")
// Opens the Notepad app.
exec("C:\\Windows\\notepad.exe");
// Opens the Notepad app.
await desktopBot.execute("C:\\Windows\\notepad.exe")
// Opens the Notepad app.
await desktopBot.execute("C:\\Windows\\notepad.exe")

Finding a process

The find_process method allows looking for processes running on your machine easily. You can find them by name or PID.

# Find Process by Name or PID.
process = bot.find_process("<name_or_PID_of_process>")
// Not yet implemented.
// Not yet implemented.
// Not yet implemented.

Terminating process

Once you find your process with the above method, you can act upon it to terminate it using the terminate_process method.

# Find Process by Name or PID.
process = bot.find_process("<name_or_PID_of_process>")
# Finishes the process found.
bot.terminate_process(process)
// Not yet implemented.
// Not yet implemented.
// Not yet implemented.