Help on Win32::CtrlGUI

Help on Win32::CtrlGUI

am 13.05.2007 02:38:08 von jis

I have a simple perl program

use Win32::OLE;

use Win32::CtrlGUI;

my $window = Win32::CtrlGUI::wait_for_window(qr/hello/,undef,
0);
if($window)
{
$window->send_keys("!fx");
}
else
{
print "application not active";
}


i am not able to send my keystrokes meaningfully when the application
is minimised.

Anybody can help me out how to activate the application i selected.


regards,
jis