| CPAN Ratings Win32-GuiTest reviews | |
| Home | Search | About | Bitcard Account | Login |
RSS | Module Info | Add a review of Win32-GuiTest
best module, very good, automate putty gist.github.com/1382756
another code:
#!perl -w
#
# Create directory in totalcmd with name of date
#
use strict;
use Win32::GuiTest qw(:ALL);
use Win32::Clipboard;
use POSIX qw(strftime);
my @windows = FindWindowLike( 0, "Total", "" );
die "Could not find Total\n" if not @windows;
SetForegroundWindow( $windows[0] );
&send_keys;
sub send_keys {
my $dir=strftime( '%Y%m%d', localtime(time) );
my $CLIP = Win32::Clipboard();
$CLIP->Set($dir);
$CLIP->WaitForChange();
SendKeys("{F7}");
SendKeys("^V");
#SendKeys("$dir");
SendKeys("{ENTER}");
SendKeys("{ENTER}");
}
Nikolay Nishin - 2011-11-21T09:03:29
This module has helped me so many times by automating a tool installation or software toolset. It's considerably easier to use than WinRunner or other automation suites!
Eric R Hall - 2009-11-16T17:55:32
Pragmatic automation. No, wait, that's a book. Ok, it's also what this module is about.
Johan Lindström - 2005-02-22T10:36:42
This is an extremely useful module for automating tasks on Windows. Especially for programs that don't support OLE/COM.
John McNamara - 2004-08-20T16:43:12
|
Perl.org sites
: bugs
| dev
| history
| jobs
| learn
| lists
| use
Site Information and Contacts |
|