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

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -