Help for this page

Select Code to Download


  1. or download this
    my $activeWindow;
    
    ...
    }
    
    # and so on...
    
  2. or download this
    my $checkActive = $Window1->AddTimer(
        -name => "checkActive", 10 
    ...
    sub checkActive_Timer {
        $activeWindow = Win32::GUI::GetForegroundWindow();
    }