[autoit]
#include <AVIConstants.au3>
#include <GUIConstantsEx.au3>
#Include <GuiAVI.au3>
GUiCreate("TEST")
GUISetState(@SW_SHOW)
$avi = GUICtrlCreateAvi(@scriptDir & "\test.avi", -1, 10, 10)
$WA = GUICtrlCreateLabel("Wiederholungen: 0", 10, 80)
$w = 0
While 1
If Not _GUICtrlAVI_IsPlaying($avi) = True Then
_GuiCtrlAVI_Play ($avi)
$w = $w + 1
ToolTip("Wiederholungen: " & $w, 1, 1)
EndIf
WEnd
Problem: Der ToolTip zeigt immer 1 an.
. wo ist der fehler?