For screen scraping text from a desktop app there are two good ways:
(1) Highlight the text with an XClick (single, double or triple click depending on the app) or highlight it with XTYPE | CTRL+A. Then copy the text into the clipboard and you can access it from the !clipboard variable. See this post for details: UI Vision Desktop ( Select text, copy, and paste) from word document - #4 by Plankton
(2) Or use OCR with the OCRExtractRelative command