Skip to content

aos draw

Point at something on screen with a big arrow and a sign

12 commands. Run aos draw --help for the same list from the binary, or see every group.

Click-through drawings on the real screen for a person to follow: an arrow, ring or box with a sign at a point, a region, a window or a control found by its label, and draw text for a label with no arrow. Nothing takes focus and clicks pass through to the app underneath. draw cover is the opposite: an opaque box that hides a window, part of it or a token, and follows the window. See arrows & pointers, text labels and covers.

Draw a click-through arrow + sign at a point, region, window, text or the mouse

needs a display

Under WSL / SSH: runs on the Windows host (the machine with the screen). How the host works

Terminal window
aos draw (--at=<x,y> | --rect=<x,y,w,h> | <app> | --app=<name> | --title=<s> | --mouse) [--find=<text> [--role=<r>] [--source=<s>] [--exact] [--nth=<n>]] --text=<sign> [--style=arrow|ring|box] [--shape=bend|straight|zigzag|spiral] [--size=S|M|L] [--color=<name|#hex>] [--from=<side>] [--monitor=<n>] [--position=<side>] [--duration=<seconds>] [--detach] [--animate=on|off] [--preview=<out.png>] [--json]
flag values meaning
<app> One of these is required
--at <x,y> One of these is required. comma-separated
--rect <x,y,w,h> One of these is required. comma-separated
--app <name> One of these is required
--title <s> One of these is required
--mouse One of these is required
--find <text> Optional
--role <r> Optional
--source <s> Optional
--exact Optional
--nth <n> Optional
--text <sign> Required
--style arrow, ring, box Optional
--shape bend, straight, zigzag, spiral Optional
--size S, M, L Optional
--color name, #hex Optional
--from <side> Optional
--monitor <n> Optional
--position <side> Optional
--duration <seconds> Optional
--detach Optional
--animate on, off Optional
--preview <out.png> Optional
--json Optional
Terminal window
aos draw --app=Calculator --find=7 --style=ring --text="press 7"
aos draw --at=640,400 --text="click here" --duration=5
aos draw --rect=100,100,400,200 --style=box --text="this area" --preview=/tmp/draw.png
aos draw --mouse --text="you are here" --detach
aos draw stop
# exit 3 when --find does not find the window or the text

Show a speech bubble with a tail pointing at a window, found text, a point or a rect

needs a display

Under WSL / SSH: runs on the Windows host (the machine with the screen). How the host works

Terminal window
aos draw bubble <text...> (--app=<name> | --title=<s> | --at=<x,y> | --rect=<x,y,w,h> | --mouse) [--find=<text> [--role=<r>] [--source=<s>] [--exact] [--nth=<n>]] [--position=top|bottom|left|right] [--size=S|M|L|XL] [--color=<bubble colour>] [--text-color=<c>] [--font=<name>] [--font-scale=<k>] [--weight=regular|bold] [--max-width=<px|N%>] [--monitor=<n>] [--duration=<seconds>] [--detach] [--animate=on|off] [--preview=<out.png>] [--json]
flag values meaning
<text...> Required positional argument
--app <name> One of these is required
--title <s> One of these is required
--at <x,y> One of these is required. comma-separated
--rect <x,y,w,h> One of these is required. comma-separated
--mouse One of these is required
--find <text> Optional
--role <r> Optional
--source <s> Optional
--exact Optional
--nth <n> Optional
--position top, bottom, left, right Optional
--size S, M, L, XL Optional
--color <bubble colour> Optional
--text-color <c> Optional
--font <name> Optional
--font-scale <k> Optional
--weight regular, bold Optional
--max-width px, N% Optional
--monitor <n> Optional
--duration <seconds> Optional
--detach Optional
--animate on, off Optional
--preview <out.png> Optional
--json Optional
Terminal window
aos draw bubble "Click Save" --app=Notepad --find=Save
aos draw bubble "This is the cart" --at=1500,90 --position=bottom --detach
aos draw bubble "Your files live here" --app=Finder --position=right --color=#fef3c7
# the card sits on the side with room (top first), the tail touches the target; exit 3 when --find does not find the window or the text

Show a cartoon person for explainers and stories: a preset or a role (lawyer, doctor, chef, shopkeeper, programmer, …) with looks you pick, blinking or talking

needs a display

Under WSL / SSH: runs on the Windows host (the machine with the screen). How the host works

Terminal window
aos draw character [<preset>] [--role=<role>] [--gender=man|woman] [--skin=<tone|#hex>] [--hair=<colour|#hex>] [--hair-style=<style>] [--outfit=<#hex>] [--beard] [--moustache] [--glasses] [--frame=rest|blink|talk] [--save=<file.svg>] [--list] [--height=<px|N%>] [--app=<name> | --monitor=<n> | --rect=<x,y,w,h> | --at=<x,y>] [--position=<side>] [--duration=<seconds>] [--detach] [--preview=<out.png>] [--json]
flag values meaning
<preset> Optional positional argument
--role <role> Optional
--gender man, woman Optional
--skin tone, #hex Optional
--hair colour, #hex Optional
--hair-style <style> Optional
--outfit <#hex> Optional
--beard Optional
--moustache Optional
--glasses Optional
--frame rest, blink, talk Optional
--save <file.svg> Optional
--list Optional
--height px, N% Optional
--app <name> Optional
--monitor <n> Optional
--rect <x,y,w,h> Optional. comma-separated
--at <x,y> Optional. comma-separated
--position <side> Optional
--duration <seconds> Optional
--detach Optional
--preview <out.png> Optional
--json Optional
Terminal window
aos draw character priya --position=bottom-left --height=40% --duration=10
aos draw character --role=lawyer --gender=woman --skin=dark --hair-style=bun --position=bottom-right --height=50%
aos draw character ravi --frame=talk --detach
aos draw character --list --json
aos draw character arjun --save=arjun.svg # the rigged SVG, for draw image --show/--hide/--recolor
# Roles: casual customer developer(programmer) founder(ceo) office lawyer doctor nurse scientist chef shopkeeper teacher student police firefighter pilot mechanic builder farmer artist singer
# Skin: light medium tan brown dark or #hex. Hair: black brown auburn blonde grey white or #hex. Hair styles: short side curly long bun ponytail bald
# Talking: alternate --frame=rest and --frame=talk (or draw image --show=mouth-open --hide=mouth-closed); blink: --frame=blink

Show the draw defaults file, or create it with –init

needs a display

Under WSL / SSH: runs on the Windows host (the machine with the screen). How the host works

Terminal window
aos draw config [--init] [--force]
flag values meaning
--init Optional
--force Optional
Terminal window
aos draw config
aos draw config --init

Black out part of the screen: a rect, a window, part of a window, or text found in it; follows its window

needs a display

Under WSL / SSH: runs on the Windows host (the machine with the screen). How the host works

Terminal window
aos draw cover (--rect=<x,y,w,h> | --monitor=<n> | <app> | --app=<name> | --title=<s> [--rect=<x,y,w,h|N%>] [--find=<text> [--role=<r>] [--nth=<n>] [--pad=<px>]]) [--color=<name|#hex|#rrggbbaa>] [--text=<s>] [--text-color=<c>] [--font=<name>] [--font-scale=<k>] [--size=S|M|L|XL] [--weight=regular|bold] [--align=left|center|right] [--position=center|top-left|...] [--margin=<px|N%>] [--border=<px>] [--border-color=<c>] [--radius=<px>] [--preset=<name>] [--block-input] [--no-follow] [--id=<name>] [--duration=<seconds>] [--detach] [--preview=<out.png>] [--json]
flag values meaning
<app> One of these is required
--rect <x,y,w,h> One of these is required. comma-separated
--monitor <n> One of these is required
--app <name> One of these is required
--title <s> One of these is required
--find <text> Optional
--role <r> Optional
--nth <n> Optional
--pad <px> Optional
--color name, #hex, #rrggbbaa Optional
--text <s> Optional
--text-color <c> Optional
--font <name> Optional
--font-scale <k> Optional
--size S, M, L, XL Optional
--weight regular, bold Optional
--align left, center, right Optional
--position center, top-left, ... Optional
--margin px, N% Optional
--border <px> Optional
--border-color <c> Optional
--radius <px> Optional
--preset <name> Optional
--block-input Optional
--no-follow Optional
--id <name> Optional
--duration <seconds> Optional
--detach Optional
--preview <out.png> Optional
--json Optional
Terminal window
aos draw cover --app=Preview --detach --id=scan
aos draw cover --app=Mail --rect=0,0,30%,100% --preset=private --detach
aos draw cover --app=Terminal --find=ghp_ --pad=6 --color=#1e40af --text="Hidden by request" --detach
aos draw cover --rect=100,100,400,200 --block-input --detach --id=form
aos draw cover update --id=scan --preset=brb --text="Back in 5"
aos draw cover list
aos draw cover stop --id=scan
# window covers follow the window: move, resize, other monitor, hidden while minimised
# --detach keeps the cover until `draw cover stop` / `draw stop`; without it the cover shows for --duration (8s)
# presets: private, redacted, brb, plus "presets" in `aos draw config`

List the detached covers, grouped by window

needs a display

Under WSL / SSH: runs on the Windows host (the machine with the screen). How the host works

Terminal window
aos draw cover list [--json]
flag values meaning
--json Optional
Terminal window
aos draw cover list

Remove detached covers (all, or one –id)

needs a display

Under WSL / SSH: runs on the Windows host (the machine with the screen). How the host works

Terminal window
aos draw cover stop [--id=<name>] [--json]
flag values meaning
--id <name> Optional
--json Optional
Terminal window
aos draw cover stop --id=scan
aos draw cover stop

Change a live cover’s colour or text in place; the area underneath never shows

needs a display

Under WSL / SSH: runs on the Windows host (the machine with the screen). How the host works

Terminal window
aos draw cover update --id=<name> [--color=<c>] [--text=<s>] [--text-color=<c>] [--size=S|M|L|XL] [--font=<name>] [--weight=<w>] [--align=<a>] [--position=<p>] [--margin=<m>] [--border=<px>] [--border-color=<c>] [--radius=<px>] [--preset=<name>] [--json]
flag values meaning
--id <name> Required
--color <c> Optional
--text <s> Optional
--text-color <c> Optional
--size S, M, L, XL Optional
--font <name> Optional
--weight <w> Optional
--align <a> Optional
--position <p> Optional
--margin <m> Optional
--border <px> Optional
--border-color <c> Optional
--radius <px> Optional
--preset <name> Optional
--json Optional
Terminal window
aos draw cover update --id=scan --text="Private" --color=#000

List the font names –font accepts

needs a display

Under WSL / SSH: runs on the Windows host (the machine with the screen). How the host works

Terminal window
aos draw fonts
Terminal window
aos draw fonts

Show a PNG, JPEG, GIF, WebP or SVG on screen, click-through, inside a window, a monitor, a rect, or beside a point

needs a display

Under WSL / SSH: runs on the Windows host (the machine with the screen). How the host works

Terminal window
aos draw image <file | -> [--width=<px|N%>] [--height=<px|N%>] [--opacity=<0-1>] [--show=<ids>] [--hide=<ids>] [--recolor=<part>=<#hex>,...] [--app=<name> | --title=<s> | --monitor=<n> | --rect=<x,y,w,h> | --at=<x,y> | --mouse] [--position=center|top-center|bottom-center|left|right|top-left|top-right|bottom-left|bottom-right] [--margin=<px|N%>] [--offset=<dx,dy>] [--duration=<seconds>] [--detach] [--animate=on|off] [--preview=<out.png>] [--json]
flag values meaning
<file | -> Required positional argument
<#hex> Optional positional argument
--width px, N% Optional
--height px, N% Optional
--opacity <0-1> Optional. default 0-1
--show <ids> Optional
--hide <ids> Optional
--recolor <part> Optional
--app <name> Optional
--title <s> Optional
--monitor <n> Optional
--rect <x,y,w,h> Optional. comma-separated
--at <x,y> Optional. comma-separated
--mouse Optional
--position center, top-center, bottom-center, left, right, top-left, top-right, bottom-left, bottom-right Optional
--margin px, N% Optional
--offset <dx,dy> Optional. comma-separated
--duration <seconds> Optional
--detach Optional
--animate on, off Optional
--preview <out.png> Optional
--json Optional
Terminal window
aos draw image logo.svg --position=top-right --width=160 --duration=10
aos draw image diagram.png --app=Keynote --width=60% --detach
aos draw image badge.png --at=640,400 --position=top --width=96
aos draw image - --monitor=2 < chart.png
aos draw image priya.svg --show=mouth-open --hide=mouth-closed --recolor=shirt=#10b981
# SVG: shapes, paths, gradients and strokes. Text, filters, masks and rounded <rect rx> are refused with a message, not drawn half. Format is sniffed from the content.
# `-` reads the image from stdin (not with --detach); the image always shows click-through, on top, and capture / recording sees it

Remove every detached drawing

needs a display

Under WSL / SSH: runs on the Windows host (the machine with the screen). How the host works

Terminal window
aos draw stop [--json]
flag values meaning
--json Optional
Terminal window
aos draw stop

Show a styled text label (no arrow) inside a window, a monitor, a rect, or beside a point

needs a display

Under WSL / SSH: runs on the Windows host (the machine with the screen). How the host works

Terminal window
aos draw text <text...> [--app=<name> | --title=<s> | --monitor=<n> | --rect=<x,y,w,h> | --at=<x,y> | --mouse] [--position=bottom-center|top-center|center|left|right|top-left|top-right|bottom-left|bottom-right] [--margin=<px|N%>] [--offset=<dx,dy>] [--color=<text colour>] [--bg=auto|none|<colour>] [--font=<name>] [--font-scale=<k>] [--size=S|M|L|XL] [--weight=regular|bold] [--align=left|center|right] [--max-width=<px|N%>] [--duration=<seconds>] [--detach] [--preview=<out.png>] [--json]
flag values meaning
<text...> Required positional argument
--app <name> Optional
--title <s> Optional
--monitor <n> Optional
--rect <x,y,w,h> Optional. comma-separated
--at <x,y> Optional. comma-separated
--mouse Optional
--position bottom-center, top-center, center, left, right, top-left, top-right, bottom-left, bottom-right Optional
--margin px, N% Optional
--offset <dx,dy> Optional. comma-separated
--color <text colour> Optional
--bg auto, none, <colour> Optional
--font <name> Optional
--font-scale <k> Optional
--size S, M, L, XL Optional
--weight regular, bold Optional
--align left, center, right Optional
--max-width px, N% Optional
--duration <seconds> Optional
--detach Optional
--preview <out.png> Optional
--json Optional
Terminal window
aos draw text "Step 2: pick a file" --app=Finder --position=top --color=amber
aos draw text "Done ✓" --monitor=2 --position=center --size=XL --color=green
aos draw text "Line one\nLine two" --rect=100,100,800,500 --position=bottom-right --bg=none
# default: bottom-center of the focused monitor (the recording's monitor while `capture video` runs), subtitle safe area (8% bottom, 5% sides)