in reply to Controlling a non-perl GUI
The preferrable way of controlling another GUI application is through Win32::GuiTest, which can send mouse clicks and, more recommended, keystrokes to any application, and also read the screen content of the target application.
Personally, I would try first to synthesize AssemblyRobot programs by starting off with some simple primitives like "reset robot position", "plot straight line 1 unit in length", "plot straight line 10 units in length", "plot spline", "plot circle", and then looking at the files generated for these programs trying to concatenate these programs. But it might also be suitable to (ab)use the "IDE" to create AssemblyRobot programs.
Installing Win32::GuiTest is fairly easy. Either you use the ppm command to install it (preferred way for ActiveState Perl), or you use the cpan command to install it (preferred way for Strawberry Perl).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Controlling a non-perl GUI
by dbae (Beadle) on Mar 28, 2010 at 21:58 UTC | |
by dk (Chaplain) on Mar 29, 2010 at 05:42 UTC |