|
You last visited: Today at 20:52
Advertisement
[Help-Request]...
Discussion on [Help-Request]... within the AutoIt forum part of the Coders Den category.
05/07/2010, 22:59
|
#1
|
elite*gold: 60
Join Date: Jun 2009
Posts: 717
Received Thanks: 431
|
[Help-Request]...
Hey, Leute, bin grad an nem kleinen Radioplayer, aber mit dem switchen will das nicht so... ich postet hier das Script, um noch zu erfragen, wie ich statt der anzeige von der Webside der Radiosender, ein kleines ins Script intigriere Video abspielen kann ...
Hoffe auf schnelle Hilfe
FrEakY.
PHP Code:
#include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #include <GUIConstants.au3> #include <IE.au3> $object = _IECreateEmbedded () #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("RadioPlayer by FrEakY. and JakeFrost77", 893, 458, 192, 124) $player_radio = GUICtrlCreateObj($object,10, 10, 870, 400) $radio_sender = GUICtrlCreateCombo("", 10, 435, 409, 25) GUICtrlSetData(-1,"Bayern 1|Bayern 2|Bayern 3","") $url_button = GUICtrlCreateButton("Zum Sender gehen", 424, 432, 457, 25, $WS_GROUP) _IENavigate($object,"www.google.de") GUISetState() #EndRegion ### END Koda GUI section ### While 1 $msg = GUIGetMsg() Switch Case $msg = $url_button Case $radio_sender _Func1() Case $msg = $GUI_EVENT_CLOSE Exit EndSelect WEnd Func _Func1() $URL = GUICtrlRead($radio_sender) If $radio_sender = 'Bayern 1' Then $URL = "http://www.br-online.de/br/jsp/seitentyp/liveStreamFenster.jsp?welle=bayern1" EndIf If $radio_sender = 'Bayern 2' Then $URL = "http://www.br-online.de/br/jsp/seitentyp/liveStreamFenster.jsp?welle=bayern2" EndIf If $radio_sender = 'Bayern 3' Then $URL = "http://www.br-online.de/br/jsp/seitentyp/liveStreamFenster.jsp?welle=bayern3" EndIf _IENavigate($object, $URL) EndFunc
|
|
|
05/07/2010, 23:33
|
#2
|
elite*gold: 179
Join Date: Oct 2009
Posts: 7,853
Received Thanks: 8,558
|
Ahja...Video? Hä geht nicht <.<
Zumindest nich direkt
Hab hier unten nur ma deine Errors beseitigt
PHP Code:
#include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #include <GUIConstants.au3> #include <IE.au3> $object = _IECreateEmbedded () #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("RadioPlayer by FrEakY. and JakeFrost77", 893, 458, 192, 124)
$player_radio = GUICtrlCreateObj($object,10, 10, 870, 400) $radio_sender = GUICtrlCreateCombo("", 10, 435, 409, 25) GUICtrlSetData(-1,"Bayern 1|Bayern 2|Bayern 3","") $url_button = GUICtrlCreateButton("Zum Sender gehen", 424, 432, 457, 25, $WS_GROUP) _IENavigate($object,"www.google.de") GUISetState() #EndRegion ### END Koda GUI section ###
While 1 $msg = GUIGetMsg() Switch $msg Case $msg = $url_button Case $radio_sender _Func1() Case $msg = $GUI_EVENT_CLOSE Exit EndSwitch WEnd
Func _Func1() $URL = GUICtrlRead($radio_sender) If $radio_sender = 'Bayern 1' Then $URL = "http://www.br-online.de/br/jsp/seitentyp/liveStreamFenster.jsp?welle=bayern1" EndIf If $radio_sender = 'Bayern 2' Then $URL = "http://www.br-online.de/br/jsp/seitentyp/liveStreamFenster.jsp?welle=bayern2" EndIf If $radio_sender = 'Bayern 3' Then $URL = "http://www.br-online.de/br/jsp/seitentyp/liveStreamFenster.jsp?welle=bayern3" EndIf _IENavigate($object, $URL) EndFunc
|
|
|
05/08/2010, 09:57
|
#3
|
elite*gold: 60
Join Date: Jun 2009
Posts: 717
Received Thanks: 431
|
Mhm, danke^^ aber er geht trotzdem nich zu den Sender- URLS ... Q_Q duufes Teil...
|
|
|
05/08/2010, 11:02
|
#4
|
elite*gold: 179
Join Date: Oct 2009
Posts: 7,853
Received Thanks: 8,558
|
Also bei mir schon <.<
Ich weis ja nich was du falsch machst^^
|
|
|
All times are GMT +2. The time now is 20:52.
|
|