Commands
key
Press a key on the iPhone's Bluetooth keyboard, optionally with modifiers or repeated.
Usage
zeptap key <name> [--mod cmd,shift,ctrl,alt] [--repeat <n>]
zeptap key cmd+apress is an alias.
Options
| Option | Description |
|---|---|
<name> | enter, escape, backspace, tab, space, arrow_up, arrow_down, arrow_left, arrow_right, a, c, v, x or z |
--mod <list> | Modifiers, comma-separated: cmd, shift, ctrl, alt |
--repeat <n> | Press it this many times (default 1) |
Also takes the global options.
Details
- Aliases:
returnforenter,escforescape,deleteforbackspace, andup,down,left,rightfor the arrows.command,control,optandoptionwork as modifiers. cmd+astyle works too: everything before the last+is a modifier.a,c,v,xandzexist for the shortcuts: select all, copy, paste, cut and undo.
Examples
$ zeptap key -l 7 enter
$ zeptap key -l 7 backspace --repeat 12
$ zeptap key -l 7 cmd+a
$ zeptap key -l 7 v --mod cmd