You would use Windows Scripting tool for that. Check-out WSH (Windows 
Scripting Host).
There are many macros that do just that and as it was pointed out, this 
has caused many security exploitations in windows.
There is software like Win Runner (Mercury tools I think) and Load Runner 
that do this kind of thing for repeated testing of Windows applications.
You should be able to do this in Perl too.
You will be playing keystrokes to get to the buttons, basically like 
screen-scraping.
__________________________________________
Ranga Nathan / CSG
Systems Programmer - Specialist; Technical Services; 
BAX Global Inc. Irvine-California
Tel: 714-442-7591   Fax: 714-442-2840




[EMAIL PROTECTED] 

Sent by: [EMAIL PROTECTED]
03/21/2005 06:04 AM

To
[email protected]
cc

Subject
[Boston.pm] Controlling Windows with Perl?






I've seen programs that can monitor your keystrokes and mouse clicks, etc,
in order to replay them against the operating system.  Does perl have the
ability to do something like that?

The purpose of my search is that I want to automate certain
responsibilities which necessitate using windows based programs, but not
being a "Windows" programmer, I have no clue on how to do this.  I don't
know if it's possible, or if perl can do the trick.  But I'm hoping
someone else does.

Command line functionality is not an option as many of the programs are
gui only.

For an example, lets say I wanted to write a script that would open
quickmail on my system, click the new message button, type in some stuff
in the window, and then click send...

Am I off in la-la land, or can this be done, and be done with perl?


TIA,

-John
 
_______________________________________________
Boston-pm mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/boston-pm


 
_______________________________________________
Boston-pm mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to