Core Function WinFlash
From Sputnik Wiki
WinFlash ( <title>, <text>, <flashes>, <delay> )
Contents |
Description
Flashes a window in the taskbar.
Parameters
Title
The title of the window.
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!
See "WinTitleMatchMode" in Opt.
Example
Opt("WinTitleMatchMode", 4); // flashes the window 4 times with a break in between each one of 1/2 second WinFlash("[CLASS=Notepad]","", 4, 500);