Flashes a window in the taskbar.
WinFlash ( "title" [,"text" [,flashes [,delay]]] )
| title | The title of the window to read. See Title special definition. |
| text | [optional] The text of the window to read. |
| flashes | [optional] The amount of times to flash the window. Default 4. |
| delay | [optional] The time in milliseconds to sleep between each flash. Default 500 ms. |
Example()
Func Example()
; Run Notepad
Run("notepad.exe")
; Wait 10 seconds for the Notepad window to appear.
Local $hWnd = WinWait("[CLASS:Notepad]", "", 10)
; Flash the window 4 times with a break in between each one of 1/2 second.
WinFlash($hWnd, "", 4, 500)
EndFunc ;==>Example