HIILFE ._.

09/22/2010 23:39 Hackerfreak1#1
Huhu e*Pvp :D

Ich habe ein "kleines" prob...^^


Ich mache siet ööhmmm n paar wochen autoIt nebenbei.. also kann es noch nicht sooo gut ^^


ich habe ein kleines problem ^^
und zwar :

Ich habe auf meinem Desktop einen Ordner
in dem ordner ist eine musik datei.

ich will jezt das script dazu bringen den ordner zu öffnen und dan die musik datei abzuspielen... weiß aber nicht wie ..

gegoogelt habe ich es auch schon finde aber nicht wirklich das wo nach i suche ^^ ...

Also

PHP Code:
HotKeySet("{F6}","Detonate")



#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <SliderConstants.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 GUICreate("<3"995691, -1, -1)
$Label1 GUICtrlCreateLabel(""8805217)
$Label2 GUICtrlCreateLabel(""02412117)
$Checkbox1 GUICtrlCreateCheckbox(""0489717)
$Checkbox2 GUICtrlCreateCheckbox(""0649717)
$Checkbox3 GUICtrlCreateCheckbox(""0809717)
$Button1 GUICtrlCreateButton(""15203525)
$Slider1 GUICtrlCreateSlider(09614245)
$Label3 GUICtrlCreateLabel(""1441046317)
$Label4 GUICtrlCreateLabel(""01441817)
$Label5 GUICtrlCreateLabel(""241442417)
$Label6 GUICtrlCreateLabel(""561442417)
$Label7 GUICtrlCreateLabel(""881442417)
$Label8 GUICtrlCreateLabel(""12814410517)
$Edit1 GUICtrlCreateEdit(""2720729777)
GUICtrlSetFont(-1124002"Segoe Script")
$Button2 GUICtrlCreateButton(""136327525)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
    $nMsg 
GUIGetMsg()
    Switch 
$nMsg
        
Case $GUI_EVENT_CLOSE
            
Exit
        Case 
$Checkbox1
            MsgBox
(1,"")
        Case 
$Checkbox2
            Msgbox
(1,"""")
        Case 
$Checkbox3
            MsgBox
(1,"","")
        Case 
$Button1
            MsgBox
(1,"","")
        Case 
$Button2
        
;Hier wen ich auf den Button klicke soll die musik datei aufgehen und abgespieltwerden
        
            

    
EndSwitch
WEnd



Func Detonate 
()
    Exit 
EndFunc 


Ich danke schon ma fuer hilfe :):p:handsdown::handsdown:
09/23/2010 00:11 lolkop#2
SoundPlay() und FileOpenDialog() sind wohl das was du dazu brauchst...

anstatt google nach fertigem code zu fragen, könntest du ja mal F1 drücken in scite.
09/23/2010 07:20 Hackerfreak1#3
Okay ich werde es ma versuchen Danke :D