in reply to
Keyboard command
Maybe you could use the X11-GUITest module from cpan.
X11-GUITest.xs
Comment on
Re: Keyboard command
In Section
Seekers of Perl Wisdom