Hey Community,
ich habe vor einen Auto It Player zu basteln.
Jedoch fehlen mir die Ideen...
Bis jetzt habe ich folgendes:
#include <GUIConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Auto It Player",449, 83, 193, 125)
$Menue = GUICtrlCreateMenu ( "&Menü")
$play = GUICtrlCreateMenuItem ( "Play",$Menue )
$Menue2 = GUICtrlCreateMenu ( "&About")
$About = GUICtrlCreateMenuItem ( "About",$Menue2)
$Menue3 = GUICtrlCreateMenu ( "&Credits")
$Credits = GUICtrlCreateMenuItem ( "Credits",$Menue3)
$Slider1 = GUICtrlCreateSlider(355, 48, 94, 16)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$lautstaerke = GuiCtrlRead ( $Slider1 )
SoundSetWaveVolume ($lautstaerke)
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $play
WinSetState ("Auto It Player","",@SW_HIDE)
$auswahl = FileopenDialog ( "Open...","::{20D04FE0-3AEA-1069-A2D8-08002B30309D}","Music (*.mp3;*.wma)")
WinSetState ("Auto It Player","",@SW_Show)
SoundPlay ( $auswahl,0)
Case $About
WinSetState ("Auto It Player","",@SW_HIDE)
MsgBox (48,"About","This is just a small programm" & @CRLF & "to increase my Autoit Skill.")
WinSetState ("Auto It Player","",@SW_Show)
Case $Credits
WinSetState ("Auto It Player","",@SW_HIDE)
MsgBox (48,"Credits","Coded by Benedikt 'r1fLeX' Schubert")
WinSetState ("Auto It Player","",@SW_Show)
EndSwitch
WEnd
Was könnte ich noch hinzufügen?
Danke für eure Anregungen und Tipps