python - Get content from open window in Linux -


i want collect data , parse open window in linux.

an example- suppose terminal window open. need retrieve data appears on window. after retrieval, parse specific commands entered.

so possible that? if so, how? prefer use python code entire thing.

i making guess first have sort of id open window , use kind of library content window id have got.

please help. quite newbie.

you can (ab)use assistive technologies support (for screen readers , such) exist in toolkit libraries. whether work toolkit specific—gtk , qt have support, others (like tk, fltk, etc.) may or may not.

the linux desktop testing project python toolkit abusing these interfaces testing gui applications, can either use or how works , similar thing.


Comments

Popular posts from this blog

Cursor error with postgresql, pgpool and php -

delphi - ESC/P programming! -

c++ - error: use of deleted function -