|
You last visited: Today at 01:47
Advertisement
$radio ...
Discussion on $radio ... within the AutoIt forum part of the Coders Den category.
06/19/2010, 20:52
|
#1
|
elite*gold: 0
Join Date: Mar 2009
Posts: 2,317
Received Thanks: 1,255
|
$radio ...
also... irgentwie bekomm ichs nciht ganz hin, wie muss mann das mit den $radio machen? mein bsp code:
PHP Code:
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 244, 135, 192, 124)
$Button1 = GUICtrlCreateButton("go", 60, 16, 97, 49, $WS_GROUP)
$Radio1 = GUICtrlCreateRadio("Internet Explorer", 12, 80, 93, 25)
$Radio2 = GUICtrlCreateRadio("Mozilla Firefox", 120, 80, 93, 25)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
also wenn ich auf "internet explorer" drücke und dann auch den button "go" soll sich internet explorer öffnen.. bei mozilla ebend mozilla..
was genau muss ich jetz machen?
MfG
|
|
|
06/19/2010, 21:04
|
#2
|
elite*gold: 20
Join Date: Feb 2007
Posts: 3,080
Received Thanks: 4,294
|
stichwörter: autoit hilfe, if...then...endif, guictrlread, shellexecute/run
|
|
|
06/19/2010, 21:05
|
#3
|
elite*gold: 0
Join Date: Jul 2009
Posts: 2,241
Received Thanks: 848
|
PHP Code:
If GUICtrlRead($Radio1) = True Then
...
ElseIf GUICtrlRead($Radio2) = True Then
...
EndIf
|
|
|
06/19/2010, 21:22
|
#4
|
elite*gold: 0
Join Date: Mar 2009
Posts: 2,317
Received Thanks: 1,255
|
ich habs jetz so, aber so oder so startet nur internet explorer...
was ist falsch?
PHP Code:
#include <ButtonConstants.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("Form1", 244, 135, 192, 124) $Button1 = GUICtrlCreateButton("go", 60, 16, 97, 49, $WS_GROUP) $Radio1 = GUICtrlCreateRadio("Internet Explorer", 12, 80, 93, 25) $Radio2 = GUICtrlCreateRadio("Mozilla Firefox", 120, 80, 93, 25) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ###
While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Button1 _start() EndSwitch WEnd
Func _start() If GUICtrlRead($Radio1) = True Then Run("C:\Programme\Internet Explorer\iexplore.exe") ElseIf GUICtrlRead($Radio2) = True Then Run("C:\Programme\Mozilla Firefox\firefox.exe") EndIf EndFunc
|
|
|
06/19/2010, 21:26
|
#5
|
elite*gold: 20
Join Date: Feb 2007
Posts: 3,080
Received Thanks: 4,294
|
bitte
Code:
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#requireadmin
#region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 244, 135, 192, 124)
$Button1 = GUICtrlCreateButton("go", 60, 16, 97, 49, $WS_GROUP)
$Radio1 = GUICtrlCreateRadio("Internet Explorer", 12, 80, 93, 25)
$Radio2 = GUICtrlCreateRadio("Mozilla Firefox", 120, 80, 93, 25)
GUISetState(@SW_SHOW)
#endregion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
_start()
EndSwitch
WEnd
Func _start()
If GUICtrlRead($Radio1) = 1 Then
Run("C:\Programme\Internet Explorer\iexplore.exe")
Else
Run("C:\Programme\Mozilla Firefox\firefox.exe")
EndIf
EndFunc ;==>_start
|
|
|
 |
Similar Threads
|
[Radio]Dirty south radio online
08/08/2009 - Video Art - 0 Replies
http://img44.imageshack.us/img44/7157/dramajpg.jpg
Enjoy Dirty south radio online .com!
It´s an american internet radio!
They only play dirty music man ^^
Just open the Link( dirtysouthradioonline.com to listen them or download desktop dsr player http://www.dirtysouthradioonline.com/espscripts/Ds rRadioPlayer.exe
|
Radio^^
11/24/2008 - General Coding - 1 Replies
Naja ich hatte langeweile also hab ich mal schnell ein Radio zusammengebastelt^^. Allerdings läuft nur 1Live falls noch andere Wünsche offen stehen nur bescheid sagen ;-)
Naja HF Smile
Screen: http://www.bilder-hochladen.net/files/6n38-1p.jpg
Virus-Total: Virustotal. MD5: 32dc9a4015e3467f273ab78be6d0ded5
Download: MEGAUPLOAD - The leading online storage and file delivery service
Download2: RapidShare: Easy Filehosting
|
!HELP!-!RADIO!
10/09/2008 - Off Topic - 1 Replies
Hallo,
Ich suche nach dem Radio das in der Leiste vom Explorer sitzt.
Habs bei jemand gesehen und will des jetzt au haben =).
Schon mal thx für die Antworten.
|
About CO radio
02/02/2008 - Conquer Online 2 - 2 Replies
I remmember there was a conquer radio out there.
As i recall the web page was conquer-radio.org, but it doen't work :(
I have that radio file and surprisingly it works, tho theres always saying that it's somekind of number one radio.. Where did the CO radio go? I miss it so much :(
P.S. Sorry if this was discussed b4, i searcher but didn't find anything.
|
All times are GMT +1. The time now is 01:52.
|
|