Kyan Posted April 16, 2015 Posted April 16, 2015 Hey, I wanted to put the taskbar icon blink, once the user copied a type of text to the clipboard and the window was out of focus, but it looks kinda bugged #include <WinAPI.au3> Global $sClipContent = '' AdlibRegister("ClipCheck", 250) $Form1 = GUICreate("Form1", 348, 53) $Input1 = GUICtrlCreateInput("", 16, 16, 321, 21) GUISetState() While 1 $nMsg = GUIGetMsg() Switch $nMsg Case -3 Exit EndSwitch WEnd Func ClipCheck() $sCurrContent = ClipGet() If $sCurrContent <> $sClipContent Then GUICtrlSetData($Input1, $sCurrContent) _WinAPI_FlashWindowEx($Form1,8) $sClipContent = $sCurrContent EndIf EndFunc ;==>ClipCheck Anyway to fix this? Normal software doesn't blink so slow Heroes, there is no such thing One day I'll discover what IE.au3 has of special for so many users using it.C'mon there's InetRead and WinHTTP, way better
Solution Tekk Posted April 16, 2015 Solution Posted April 16, 2015 Check the help file again. 8 should be a 10. It doesn't know what you want it to flash, the window caption or the taskbar button.
Kyan Posted April 16, 2015 Author Posted April 16, 2015 Good finding Heroes, there is no such thing One day I'll discover what IE.au3 has of special for so many users using it.C'mon there's InetRead and WinHTTP, way better
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now