|
Posted by jis on May 12, 2007, 8:38 pm
Please log in for more thread options
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
|