Re: Screen-Scrape Konsole output

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: signature.asc
Description: This is a digitally signed message 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.

[Index of Archives]     [Trinity (TDE) Desktop Users]     [Fedora KDE]     [Fedora Desktop]     [Linux Kernel]     [Gimp]     [GIMP for Windows]     [Gnome]     [Yosemite Hiking]
  Powered by Linux