I want to extract text content from graphical applications, here are 2 examples:
example 1:
Suppose I opened firefox and enter url: www.google.com
How can I extract the string "www.google.com" from firefox using my own application?
Example 2:
open calculator (using gcalctool), then enter 1 + 1
How can I extract the string "1 + 1" of the calculator from my own program?
In short, I want to find out if there is a way to extract text content from any widget in a GUI application.
thanks
source share