January 1, 2005

WinTask - FlashWindow

'
' FlashWindow - Flash the Titlebar of a Window
'
' Author: Joe Strazzere
'
pause 3 seconds
b = External("user32","GetForegroundWindow")
External("user32","FlashWindow",b,1)
pause 1 seconds
External("user32","FlashWindow",b,0)
pause 1 seconds
External("user32","FlashWindow",b,1)
pause 1 seconds
External("user32","FlashWindow",b,0)
pause 1 seconds
External("user32","FlashWindow",b,1)
pause 1 seconds
External("user32","FlashWindow",b,0)
pause 1 seconds