I have a Win32 GUI proccess. Is there any way to control the GUI proccess input within another process (application built in Perl)? the user have a scanning system i want to identify when the keys dispatched by the scanning system check them if they are digits and then suffix them with \n character then send them to the GUI application?
+3
A:
See Win32::GuiTest which allows you to send key presses and mouse clicks to any Windows application.
It also comes with a recorder to record user actions for later replay.
Sinan Ünür
2009-11-21 13:59:52
The recorder not exactly help here.
Thor
2009-11-21 15:12:51
@Thor You edited your post after I posted my answer to reflect the true requirements. "*not exactly help*"? What kind of attitude is that?
Sinan Ünür
2009-11-21 15:43:17
Thanks anyway for your try to help ,maybe i didn't explain my requiremnet as it should be (my problem )
Thor
2009-11-21 18:18:59
+2
A:
Paul Fenwick wrote an article for The Perl Review about playing Mineweeper from Perl using his SweeperBot program. He uses Win32::GuiTest to make the magic.
brian d foy
2009-11-22 04:16:57