Hi!
Meinst du veileicht so???
Spoiler anzeigen
#include <File.au3>
#include <Array.au3>
#include <GUIConstants.au3>
$width = 375
$height = 354
$po = 1
$i = 1
$time = 30000
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", $width, $height, 223, 148)
$Slider1 = GUICtrlCreateSlider(70, 310, 209, 40)
GUICtrlSetLimit(-1, 3000, 180000)
GUICtrlSetData(-1, 3000)
$stop = GUICtrlCreateButton("Stop", 340, 315)
$Start = GUICtrlCreateButton("Start", 300, 315)
GUISetBkColor(0xA6CAF0)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
$height -= 50
$pics = _FileListToArray("G:\Bilder\SAMMLUNG\JPG", "*.jpg", 1)
While 1
$nMsg = GUIGetMsg()
Select
Case $nMsg = $GUI_EVENT_CLOSE
Exit
Case $nMsg = $stop
$po = 1
Case $nMsg = $Start
GUICtrlCreatePic('G:\Bilder\SAMMLUNG\JPG\' & $pics[$i], 0, 0, $width, $height)
$i += 1
Case $nMsg = $Slider1
$time = GUICtrlRead($Slider1)
EndSelect
WEnd
EDIT:/ Sorry falsch verstanden! Jetzt aber
Spoiler anzeigen
$height = 354
$po = 1
$i = 1
$time = 3000
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", $width, $height, 223, 148)
$Slider1 = GUICtrlCreateSlider(70, 310, 209, 40)
GUICtrlSetLimit(-1, 3000, 180000)
GUICtrlSetData(-1, 3000)
$stop = GUICtrlCreateButton("Stop", 340, 315)
$Start = GUICtrlCreateButton("Start", 300, 315)
GUISetBkColor(0xA6CAF0)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
$height -= 50
$pics = _FileListToArray("G:\Bilder\SAMMLUNG\JPG", "*.jpg", 1)
Local $iTimer = TimerInit()
While 1
If Round(TimerDiff($iTimer)) > $time Then
GUICtrlCreatePic('G:\Bilder\SAMMLUNG\JPG\' & $pics[$i], 0, 0, $width, $height)
$i += 1
$iTimer = TimerInit()
EndIf
$nMsg = GUIGetMsg()
Select
Case $nMsg = $GUI_EVENT_CLOSE
Exit
Case $nMsg = $stop
$po = 1
Case $nMsg = $Start
GUICtrlCreatePic('G:\Bilder\SAMMLUNG\JPG\' & $pics[$i], 0, 0, $width, $height)
$i += 1
Case $nMsg = $Slider1
$time = StringReplace(GUICtrlRead($Slider1), '-', '')
EndSelect
WEnd
LG Kleiner