Hi Wening,

u can send key strokes to win32 using Win32::GuiTest.

to set the focus on a window, use FindWindowLike.

Here's a snippet frm my code :

use Win32::GuiTest  qw(FindWindowLike GetWindowText SetForegroundWindow
SendKeys);
$Win32::GuiTest::debug = 0; # Set to "1" to enable verbose mode

SendKeys("%a");

% - > alt.... check GuiTest for other shortcuts.... u can send TAB, ENTER,
CONTRL as well...


hope this will help...
 cheers,
savinder.


_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to