jacdac.pccontroller

Submodules

Package Contents

Classes

PCControllerClient

Send various events to PC, including opening a URL, start an app, sending text, etc.

class jacdac.pccontroller.PCControllerClient(bus: jacdac.bus.Bus, role: str)

Bases: jacdac.bus.Client

Send various events to PC, including opening a URL, start an app, sending text, etc. Implements a client for the PC controller service.

open_url(url: str) None

Open a URL in the default browser.

start_app(name: str) None

Start an app.

send_text(text: str) None

Send text to the active window.

run_script(script: str) None

Run a script.