Register for your free account! | Forgot your password?

Go Back   elitepvpers › Coders Den › AutoIt
You last visited: Today at 05:57

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Help-Request]...

Discussion on [Help-Request]... within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #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 
FrEakY. is offline  
Old   #2


 
Al Kappaccino's Avatar
 
elite*gold: 179
Join Date: Oct 2009
Posts: 7,853
Received Thanks: 8,560
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 
Al Kappaccino is offline  
Thanks
1 User
Old   #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...
FrEakY. is offline  
Old   #4


 
Al Kappaccino's Avatar
 
elite*gold: 179
Join Date: Oct 2009
Posts: 7,853
Received Thanks: 8,560
Also bei mir schon <.<
Ich weis ja nich was du falsch machst^^
Al Kappaccino is offline  
Reply


Similar Threads Similar Threads
[Request]ZeroTolerance Dekaron Admin Request
02/21/2010 - Dekaron Private Server - 1 Replies
We need Staff Members ~EDITED~
[REQUEST] speak freakin english -_- florensi hack [REQUEST]
01/22/2010 - Florensia - 1 Replies
any florensia hacks?
[REQUEST]5165 Client Request Help/ Question
12/18/2009 - CO2 Private Server - 5 Replies
hey yall its me TheLeGend Im Back in CO for a while but i gots a question ok so i have a 5165 Client im editing for a server but the only problem is that stupid-ass popup page that comes up the Conquer Online - Official Site - co.91.com one well i was just wondering how can i edit that site orrr how can i make it not popup anymore??? Thanks so Much, TheLeGend209



All times are GMT +2. The time now is 05:57.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.