Skip to main content
Roberty Studio
RPAAdvanced OCR

Advanced OCR - For each word

Advanced OCR - For each word

Loops over every word found in an Advanced OCR result, running a block of actions for each word.


Options​

Document analysis​

Select the Advanced OCR - Analyze Document action whose result will be used. When this action is inside an Advanced OCR - For each page action, the document of that action is used.

Page (optional)​

Enter the number of the page to be iterated. Inside an Advanced OCR - For each page action, the current page of that action is used.

Returns​

Javascript code​

js
actions["action-id"].page // page (Number)
actions["action-id"].word // word (Text)

Field selection​

  • page — page (Number)
  • word — word (Text)

Rules and Conditions​

  • The Advanced OCR - Analyze Document action must be run before this one.
  • Outside an Advanced OCR - For each page action, enter the page: without it, no item is iterated.