ich hänge seit knapp 3 tagen in der autoit hilfe und checke es net
Ich will mit
Shellexecute
eine musik datei öffnen...
Das script und die musik sind im selbern ordner
Also :
Musik name = Test
PHP Code:
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 117, 26, 883, 123)
$Button1 = GUICtrlCreateButton("Muuuusik x3", 0, 0, 115, 25)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
ShellExecute("Test")
;Waaaarum geht das net .. ? mus ich dahinter noch
;Play schreiben oder was muss ich dan noch machen :c ?
EndSwitch
WEnd






