I am trying to build
a portable way to communicate to a process via it's window.
On the Win32 side, I
can send a message to a particular window using Win32::CtrlGUI like
this....
-------------------------------------------------------
use
Win32::CtrlGUI;
$text = "Some text
in the title"; # (i.e. Notepad,
etc.)
my $window =
Win32::CtrlGUI::wait_for_window(qr/$text/);
$window->send_keys(' "Hello
World"{ENTER}');
-------------------------------------------------------
Is there an
equivalent way to do this on the UNIX side?
The two main tasks
would be to get the window id or handle based on it's caption text and then to
send keystrokes to the window.
Thanks for any
help.
John