G’day,
At his link http://docs.activestate.com/activepython/2.7/pywin32/win32gui__FlashWindowEx_meth.html there is the documentation for win32gui.FlashWindowEx(), which I have managed to get working with
import win32gui as w
a = w.GetForegroundWindow() #just get the handler/ID for the current window
w.FlashWindowEx(a,0,5,1000) #many variations of the 5,1000 have been tried
but all that happens in the Windows 7 taskbar is the icon gets the golden background, not flashing, so my question is, does anyone know about the win32con.FLASHW_* flags the documentation makes mention of, perhaps a link to more info about them?
Cheers
There’s more information on the Visual Basic version of the
FlashWindowExfunction available on Microsoft’s support side at “How to use FlashWindowEx to Notify a User from Visual Basic”.That page includes a list of the
FLASHW_*flags.