Commands
type
Type text into the focused field, from an argument or from stdin.
Usage
zeptap type <text>
zeptap type --stdinOptions
| Option | Description |
|---|---|
<text> | The text. Several arguments are joined with spaces |
--stdin | Read the text from stdin. One trailing newline is dropped |
Also takes the global options.
Details
- Tap the field first:
typeneeds a focused field. - Any language works. Text that isn't plain US-keyboard ASCII is pasted through Universal Clipboard, which needs Handoff on and the same Apple Account on the Mac and the iPhone.
- iOS autocorrect, auto-capitalization and smart quotes may change the text, so check it with
--look. typedoesn't press Return. Follow it withkey enterto submit.- Use
--stdinfor long text, or text with quotes your shell would mangle.
Examples
$ zeptap tap -l 7 --text "Search"
$ zeptap type -l 7 "running shoes" --look
$ zeptap key -l 7 enter
$ cat caption.txt | zeptap type -l 7 --stdin