/edit: bitte in das richtige forum moven
Hallo,
ich habe gerade dieses Script erstellt:
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <Sound.au3>
$aSound = _SoundOpen(@ScriptDir & "\test.mp3")
[/autoit][autoit][/autoit][autoit]$Form1 = GUICreate("Form1", 194, 58, 192, 124)
$Button1 = GUICtrlCreateButton("Ton an", 16, 16, 75, 25, 0)
$Button2 = GUICtrlCreateButton("Ton aus", 104, 16, 75, 25, 0)
GUISetState()
_SoundPlay($aSound, 0)
[/autoit][autoit][/autoit][autoit]While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
_SoundResume($aSound)
Case $Button2
_SoundPause($aSound)
EndSwitch
WEnd
jetzt will ich allerdings, dass eine datei (http://87.230.53.70/iloveradio1.mp3) aus dem Internet abgespielt wird, dies funktioniert mit "_soundplay" allerdings nicht...
diese Datei gehört zu einem online radio...
Wie kann ich die abspielen lassen?
(ich hab gehört, dass soll mit BASS.au3 funktionieren, allerdings hab ich davon keine ahnung und kapier das auch nicht wirklich...)
Danke im Vorraus