Purpose: Reads text from a screen area.
Normal connected use
Capture and OCR one bounded live screen region with Windows OCR without returning the captured pixels.
Setting up the block
Pick top-left corner records the origin. Enter width and height in pixels. For example, width 300 and height 80 captures a strip 300 pixels to the right and 80 pixels down from that corner.
Open the block settings. The position button minimizes the editor for five seconds. Hold the pointer over the target until the editor returns. Restoring the editor early cancels capture. Sampling leaves the target untouched. X and Y use desktop pixels. Pick again if the display layout changes. A connected number overrides the saved coordinate.
Inputs and settings
x— Region X:number; required;number.y— Region Y:number; required;number.width— Region width:number; required;number.height— Region height:number; required;number.languageHints— Language hints:list; optional.
A present connector value always wins over the saved setting, including false, 0, or empty text. A present malformed value produces an input error and never falls back to a setting or default.
Visible settings
| ID | Label | Control | Default |
|---|---|---|---|
x | Region X | number | none |
y | Region Y | number | none |
width | Region width | number | none |
height | Region height | number | none |
languageHints | Language hints | textarea | "[]" |
Outputs
text— Recognized text;text.confidence— Confidence;number.fire— is emitted only after all required outputs are valid.
What happens when it runs
This block runs on this computer through the installed add-on. It accepts connected outputs only from the current workflow run.
- OCR uses installed Windows OCR languages. Install the requested language pack or leave the hint list empty when a language is unavailable.
Error handling
- Missing, wrong-type, or invalid input stops at this block and names the input or setting to correct.
- If a connected output is no longer available or contains the wrong kind of item, run the earlier block again and reconnect its new output.
- A requested confirmation starts on Cancel. If you cancel, the block makes no change.
- If a required Windows or Nodestly feature is unavailable, the block stops with a clear message that explains what to do.
- Fire and partial outputs are not emitted after failure. Messages refer only to inputs, settings, resources, the target application, or Windows features the user can check.
Exact settings reference
These are the saved settings and defaults. If a value is connected to the matching input, that connected value is used.
| ID | Setting | Control | Default | Bounds/options |
|---|---|---|---|---|
x | Region X | number | Not set | — |
y | Region Y | number | Not set | — |
width | Region width | number | Not set | — |
height | Region height | number | Not set | — |
languageHints | Language hints | textarea | [] | — |
