package WindowHandler ;
use strict ;
use Win32::GuiTest qw(FindWindowLike GetWindowText
SetForegroundWindow SendKeys);
sub minimizeWindow
{
my $self = shift ;
my $winTitle = shift ;
my @windows= FindWindowLike(undef, "^*$winTitle*", "");
if (not @windows) {
print " The console window could not find itself - it is staying on top \n\n" ;
}
else
{
for (@windows)
{
print "$_>\t'", GetWindowText($_), "'\n";
SetForegroundWindow($_);
SendKeys("%{SPACE}n");
}
} #eof
#minimize this window stop
} #eof minimizeWindow
sub new
{
my $self =shift;
return bless({}, $self );
}
1 ;
__END__
Lost ASP.NET Identity Cookies on IIS Application Pool Restarts
-
[image: Cookie Monster Attack On Iis]
Last week I finally updated my blog and moved it to .NET 10 from the
ancient WebForms based engine I built 20 years...
2 weeks ago
No comments:
Post a Comment
- the first minus - Comments have to be moderated because of the spammers
- the second minus - I am very lazy at moderating comments ... hardly find time ...
- the third minus - Short links are no good for security ...
- The REAL PLUS : Any critic and positive feedback is better than none, so your comments will be published sooner or later !!!!