[kde-linux] Send a key to an application

Kevin Krammer kevin.krammer at gmx.at
Fri Mar 23 11:04:01 UTC 2007

On Thursday 22 March 2007 19:01 +0100, Alain M. wrote:
> Hi, is there a method to send a key to a specific application?
> If not, to the system so that the app with focus can get it?
> I want to trigger the "play" button in audacity, via an external script.
> I can configure a Hotkey to do that, but the app does not have a Signal
> input to activate hotkeys...

Some applications have remote control capabilitie, e.g. through D-Bus or a 
custom socket/pipe.

Sending fake key events to windows is certainly possible technically, however 
I don't know any application for doing it (someone else might though)

Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-linux/attachments/20070323/3fe49ef5/attachment.sig>

More information about the kde-linux mailing list