Jump to content

Taskbar item blinking is lagged/slow

Recommended Posts

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)

While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case -3


Func ClipCheck()
    $sCurrContent = ClipGet()
    If $sCurrContent <> $sClipContent Then
        GUICtrlSetData($Input1, $sCurrContent)
        $sClipContent = $sCurrContent
EndFunc   ;==>ClipCheck

Anyway to fix this? Normal software doesn't blink so slow  :huh2:

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

Share this post

Link to post
Share on other sites

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.

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...