Request an invite
Docs menu

osmates vm text

Print the text on a machine's screen, each line with its box in display pixels.

Usage
osmates vm text <machine> [--display <display>] [--json]

Arguments

<machine>Required

The machine's identifier or name.

--display <display>

The display, from 0: a Windows machine on the OSMates engine can have up to 4.

Default: 0

--json

Print machine-readable JSON.

JSON output

With --json, it prints an array of objects with these fields.

JSON Schema: /schemas/0/cli/vm/text.json

confidencenumberRequired
heightintegerRequired
textstringRequired
widthintegerRequired
xintegerRequired
yintegerRequired

Exit statuses

Its exit status is one of these.

StatusMeaning
0The command did what it was asked.
1The command failed; with --json, standard error's last line is the error object.
64The command line is wrong, as ArgumentParser found before the command ran.
65What was given is wrong, found while the command ran; the same command fails until it changes.
75The same command can work later with nothing changed, as while an update finishes.
130Control-C cancelled what the command started.

Report a problem with this page