You are not logged in.
Pages: 1
Hi,
I am looking for a way of reading text buffer [in editors browser etc...] I can get too clipboard xclip & xsel but need a way to read what typed in
Is is possible in Bash or maybe Python ?
MrG
Last edited by Mr Green (2008-09-18 16:42:13)
Mr Green
Offline
I don't think there's a toolkit independent way to do this; the various toolkits implement text widgets in different ways.
You might be able to use accessibility toolkits, but they can be hard to set up. They basically give you access to a program's widget tree, assuming the program is accessible, but not very much is standard in that field yet. Have a look at pyatspi; I used it about a year ago and it did what I needed it to.
Dusty
Offline
Pages: 1