PHP Code:
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
$Bild = @ScriptDir & "\Bild.jpg"
If Not FileExists($Bild) Then FileInstall("Bild.jpg", $Bild, 1)
#Region ### START Koda GUI section ### Form=
$Form = GUICreate("Form1", 360, 450)
$Pic = GUICtrlCreatePic($Bild, 0, 0, 361, 449, BitOR($SS_NOTIFY,$WS_CLIPSIBLINGS))
$B_Start = GUICtrlCreateButton("Start", 191, 392, 121, 33, 0)
$B_Ende = GUICtrlCreateButton("Ende", 64, 392, 105, 33, 0)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While True
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $B_Start
;...
Case $B_Ende
;...
EndSwitch
WEnd
Setzt voraus, dass die Datei "Bild.jpg" im selben Ordner wie das Script ist.