PS: noob
dagegen hat hier keine was, aber gegen unfreundliche User schon.
Dim ist falsch
probiers mal so
Spoiler anzeigen
[autoit]
#include<ButtonConstants.au3>
#include<GUIConstantsEx.au3>
GUICreate("My GUI") ; will create a dialog box that when displayed is centered
[/autoit] [autoit][/autoit] [autoit]GUICtrlCreateButton ("my picture button", 10,20,40,40, $BS_BITMAP)
GUICtrlSetImage (-1, "playgame.bmp")
GUISetState ()
; Run the GUI until the dialog is closed
While 1
$msg = GUIGetMsg()
If $msg = $GUI_EVENT_CLOSE Then ExitLoop
Wend
ansonsten das komplette Script posten