Hi,
ich wollte mir selber einen Bildschirmschoner schreiben der alle 5 Sekunden das Bild wechselt aber irgendwie zeigt er mir die Gui nicht an.
Spoiler anzeigen
$gui=GUICreate("Bildschirmschoner", @DesktopWidth, @DesktopHeight, -1, -1)
[/autoit] [autoit][/autoit] [autoit][/autoit] [autoit]while 1
GUIGetMsg()
$timer=TimerInit()
$timerdiff=TimerDiff($timer)
$pos=MouseGetPos()
while 1
$pos2=MouseGetPos()
if $pos2[0] <> $pos[0]Then
ExitLoop
EndIf
if $timerdiff>10000 Then
GUISetState(@sw_show, $gui)
for $i=1 to 5
$pic=GUICtrlCreatePic($i&".jpg", -1, -1, @DesktopWidth, @DesktopHeight)
while 1
$timer2=TimerInit()
$pos3=mousegetpos()
$timer2diif=TimerDiff($timer2)
if $pos3[0]<> $pos Then
ExitLoop
ElseIf $timer2diif>5000 Then
GUICtrlDelete($pic)
ExitLoop
EndIf
WEnd
Next
EndIf
WEnd
WEnd
Aber ich finde meine Fehler gerade nich und wäre schon glücklich wenigstens mein Ansatz richtig is^^
Ich hoffe ihr seir nicht so blind wie ich^^