G'day,
在他的链接http://docs.activestate.com/activepython/2.7/pywin32/win32gui__FlashWindowEx_meth.html有 win32gui.FlashWindowEx() 的文档,我已经设法使用
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
但在 Windows 7 任务栏中发生的所有事情都是图标获得金色背景,而不是闪烁,所以我的问题是,有没有人知道文档提到的 win32con.FLASHW_* 标志,也许是有关它们的更多信息的链接?
干杯