To manage processes and applications:
Launching Applications:
- •Use
launch_app(app_name)with common names like "notepad", "chrome", "spotify" - •The function returns an alias (e.g., "notepad_1") for window management
- •Wait for the app to fully load before interacting
Listing Processes:
- •Use
list_processes()to see all running processes - •Use
list_processes(filter_name="chrome")to filter by name - •Note the PID for process management
Terminating Processes:
- •Use
kill_app(app_name)with the app name or alias - •This gracefully closes the application
- •For stubborn apps, the system will force-terminate
Examples:
- •"Open Notepad" →
launch_app("notepad") - •"Close Chrome" →
kill_app("chrome") - •"What's running?" →
list_processes()