Function Reference


WinFlash

Flashes a window in the taskbar.

WinFlash ( "title" [,"text" [,flashes [,delay]]] )

Parameters

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.

Return Value

None.

Remarks

This function is very useful for catching the user's eye!

Related

WinSetState

Example


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