[Kde-accessibility] simulate key events
Maks Orlovich
maksim at cs.cornell.edu
Tue Jun 21 15:43:18 CEST 2005
On Tuesday 21 June 2005 04:11, mattijs de groot wrote:
> After googling around a bit I think this is probably the best place to
> ask. I'm using perlbox to excecute spoken commands. Perlbox maps a spoken
> word or phrase to an executable and using dcop I can probably control most
> kde programs perfectly. However, I would realy like to issue keyboard
> events to get general control. Is it possible in kde to simulate key
> events globally (like <ALT>-<Tab>, <PadgeDown>, etc.) from a simple script
> or excecutable?
From an executable, use the XTest extension (or XSendEvent if it's not
available). Check viki sources, they should have a fairly sophisticated
example..
More information about the kde-accessibility
mailing list