Interface with applications on Linux
jelinson last edited by
I am designing a program (call it A) to interface with another third-party application (call it B). How could program A determine window information about program B? In particular, is it possible to detect specific menus or buttons of program B? By "detect" I mean at least determine the screen position of such.
Thanks for any ideas!
leon.anavi last edited by
You can use IPC (Inter-Process Communication) to exchange information between your application and to determine what ever you need. "Qt has a module for D-BUS that may be useful":http://qt-project.org/doc/qt-4.8/QtDBus.html.
issam last edited by
If A is a pure C++ program (It uses only SL functions) you can use pipe or UNIX domain socket for the IPC. If both A and B are Qt applications you can use Qt Socket (QtNetwork module) or Qt D-Bus.