Skip to content
Edith

Docs

Command reference

ed grab

ed grab is the command-line surface for the Text Grab page under Mac Utilities. It reads the text in an image file or in the image on the clipboard, on this Mac, and lists or clears the grabs history keeps. Grabbing text from the screen starts from the Text Grab shortcut, Control-Option-Command-T by default.

The ed command line

Command What it does
ed grab status Reports the shortcut, the default mode, Screen Recording and the last grab.
ed grab file Recognizes the text in an image file.
ed grab clipboard Recognizes the text in the image on the clipboard.
ed grab history Lists recent grabs, or clears them with history clear --yes.

Modes are plain (wrapped lines joined into paragraphs), breaks (every line kept), line (one line), table (columns found from the text layout, copied as tab separated values), code (indentation kept) and barcode (a QR code or barcode). When text mode finds nothing, Text Grab tries a code instead. Recognition runs on this Mac and nothing is uploaded. History is off by default; with it on, the last 30 grabs and a small thumbnail of each are kept in Text Grab's data folder.