This code defines a win32::ole object by using window title
use Win32::OLE;
my $main = new Win32::OLE 'WScript.Shell';
my $targetExactWindowName = ' Marketing - Microsoft Internet Explorer';
# This brings it to the foreground
$main->AppActivate( $targetExactWindowName );
How can I detect and close other existing windows except the defined win32::ole object?
In reply to Win32::OLE close other windows by zli034
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |