summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-25 23:02:09 -0300
committerGabriel Schneider <[email protected]>2026-09-25 23:02:09 -0300
commit0b42902ecd169d9c2d5bf4347c939bdb6da78605 (patch)
tree3be52297e520e82c89d80fb3a239d7a038675c1f /README.md
parent5523d23a46821d1fc65d670edd636c040d280a32 (diff)
downloadsketchbook-0b42902ecd169d9c2d5bf4347c939bdb6da78605.tar.gz
sketchbook-0b42902ecd169d9c2d5bf4347c939bdb6da78605.zip
sketchbook: await in scripts
await FIELD VALUE plays frames until a state field holds the value, for up to a minute: for waits whose length is the sketch's business, such as a line of dialogue typing out.
Diffstat (limited to 'README.md')
-rw-r--r--README.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/README.md b/README.md
index 62e5ab1..282cc4f 100644
--- a/README.md
+++ b/README.md
@@ -97,6 +97,7 @@ queued and played.
sketch.
- **Scripts** (`--headless --fresh --script file`) drive the same routing and
frames as a player: `click`, `key`, `type`, `console`, `expect field value`,
+ `await field value` (frames until it holds, a minute at most),
`expect-audio`, `screenshot`, `load`, `reload`, `await-reload`. A failed
`expect`, or a console line that errors (a sketch command returning an
error included), fails the script. Headless always means offscreen, even