Win32::GUI::GetForegroundWindow();
while(1)
{
$activeWindow=Win32::GUI::GetForegroundWindow();
}
The best thing would be to write a listener that'd be triggered when there's an active window changed. Does anyone have an idea ? Thanks guys. In reply to create a listener in Win32::GUI by Foggy Bottoms
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |