Soundplay Problem...

  • Hallo allerseits,

    wo liegt hier das Problem:

    [autoit]

    #include <Sound.au3>
    _SoundPlay("C:\Users\tim\Desktop\music\neu\Basshunter - DotA.mp3")
    Sleep(6000)
    _SoundClose("C:\Users\tim\Desktop\music\neu\Basshunter - DotA.mp3")

    [/autoit]


    Es kommt immer der Fehler:
    Line 442 (Sound.au3)

    If SaSndID[1] <> 0 Then
    If ^ ERROR

    Array variable has incorrect number of subscripts or subscript dimension range exceeded!

    pls help euer team2way

  • Spoiler anzeigen
    [autoit]


    #include <Sound.au3>

    [/autoit] [autoit][/autoit] [autoit]

    #Region ### START Koda GUI section ### Form=

    [/autoit] [autoit][/autoit] [autoit]

    #EndRegion ### END Koda GUI section ###
    _sound()

    [/autoit] [autoit][/autoit] [autoit]

    Func _sound()
    $snd =_SoundOpen(@ScriptDir& "\Bushido - Outro.mp3")
    _SoundPlay($snd)
    EndFunc

    [/autoit]

    so habe ich es bei mir