There are two good options for scraping desktop apps and terminal (e. g. AS400) screens:
-
OCR with OCRExtractRelative
-
With keyboard shortcuts: Mark all text + Copy to clipboard
Both options are described in more detail here: Desktop Automation - OCR Latest Entry In A List - #2 by Plankton