Screen-Scrape Konsole output
Kevin Krammer
kevin.krammer at gmx.at
Thu Jun 3 13:51:37 BST 2010
On Thursday, 2010-06-03, Ram wrote:
> Hello,
>
> I had a small automation program , that would screen-scrape konsole
> output and take actions accordingly
>
> To "read" the Konsole window , I used to use automated-mouseclicks and
> the use dcop to read the klipper output.
You can use qdbus to access Klipper in basically the same way.
> I was hoping qdbus can support function like readSessionWindow(); that
> returns the Visible text on the window, Is it possible
No idea.You can use qbudsviewer to expore the D-Bus API of applications.
Another approach might be to read the history buffer file (assuming it doesn't
just keep that in memory).
Cheers,
Kevin
--
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde/attachments/20100603/d463a8f5/attachment.sig>
-------------- next part --------------
___________________________________________________
This message is from the kde mailing list.
Account management: https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.
More information about the kde
mailing list