Jump to content

Taskbar item blinking is lagged/slow


Kyan
 Share

Go to solution Solved by Tekk,

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)
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  :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
happy.png

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...