Commands
long-press
Press and hold a point, a @t ref or a line of text, for context menus, previews and edit modes.
Usage
zeptap long-press <x> <y> [--ms <ms>]
zeptap long-press @tN [--ms <ms>]
zeptap long-press --text <text> [--index <n>] [--ms <ms>]Options
| Option | Description |
|---|---|
--ms <ms> | How long to hold (default 800) |
Also takes the same targets as tap, and the global options.
Details
- Use it to open context menus, peek at links, and start editing the Home Screen.
- To move a Home Screen icon, use
dragwith--holdinstead.
Examples
$ zeptap long-press -l 7 --text "Notes" --look
$ zeptap long-press -l 7 200 700 --ms 1500