Happy Birthday!
Beiträge von Alizame
-
-
-
Fände es auf Nuketown auch cool wenn man dort AWP+Deagle+Knife only hat ;D
-
Happy birthday ;D
-
Kannst du mir dann auch die IP geben? Freue mich schon...
-
Mit "_BASS_ChannelPause($MusicHandle)"
Wie oben im Spoiler...
-
das liegt daran, dass "__Bass_Free()" Bass.dll komplett beendet.
-
Moment ich probiers mal aus:
Edit:Spoiler anzeigen
[autoit]#include "Bass.au3"
[/autoit] [autoit][/autoit] [autoit]
;~ #include <GUIConstantsEx.au3>_BASS_Startup(@ScriptDir & '\bass.dll') ;Startup Bass.dll
[/autoit] [autoit][/autoit] [autoit]
_BASS_Init(0, -1, 44100, 0) ;Init Bass.dll
If @error Then ;All correct?
MsgBox(0, "Error", "Could not initialize audio")
Exit
EndIf$stream = "http://80.237.157.64/iloveradio1.mp3" ;Your Stream
[/autoit] [autoit][/autoit] [autoit]
$MusicHandle = _BASS_StreamCreateURL($stream, 0, 1) ;Create Stream
OnAutoItExitRegister("_Exit") ;If Exit then call "_Exit"If @error Then ;Check if we opened the URL correctly.
[/autoit] [autoit][/autoit] [autoit]
MsgBox(0, "Error", "Could not load audio file" & @CR & "Error = " & @error)
Exit
EndIf$Form1 = GUICreate("Form1", 194, 58, 192, 124)
[/autoit] [autoit][/autoit] [autoit][/autoit] [autoit]
$Button1 = GUICtrlCreateButton("Play", 16, 16, 75, 25, 0)
$Button2 = GUICtrlCreateButton("Pause", 104, 16, 75, 25, 0)
GUISetState()_BASS_ChannelPlay($MusicHandle, 1) ;Play Stream
[/autoit] [autoit][/autoit] [autoit]While 1
[/autoit] [autoit][/autoit] [autoit]
$nMsg = GUIGetMsg()
Switch $nMsg
Case -3 ;ersetzt $GUI_EVENT_CLOSE
Exit
Case $Button1
_BASS_ChannelPlay($MusicHandle, 0)
Case $Button2
_BASS_ChannelPause($MusicHandle)
EndSwitch
WEndFunc _Exit()
[/autoit]
_Bass_Free()
Exit
EndFunc -
So:
Spoiler anzeigen
[autoit]#include "Bass.au3"
[/autoit] [autoit][/autoit] [autoit]_BASS_Startup(@ScriptDir & '\bass.dll') ;Startup Bass.dll
[/autoit] [autoit][/autoit] [autoit]
_BASS_Init(0, -1, 44100, 0) ;Init Bass.dll
If @error Then ;All correct?
MsgBox(0, "Error", "Could not initialize audio")
Exit
EndIf$stream = "http://80.237.157.64/iloveradio1.mp3" ;Your Stream
[/autoit] [autoit][/autoit] [autoit]
$MusicHandle = _BASS_StreamCreateURL($stream, 0, 1) ;Create Stream
OnAutoItExitRegister("_Exit") ;If Exit then call "_Exit"If @error Then ;Check if we opened the URL correctly.
[/autoit] [autoit][/autoit] [autoit]
MsgBox(0, "Error", "Could not load audio file" & @CR & "Error = " & @error)
Exit
EndIf_BASS_ChannelPlay($MusicHandle, 1) ;Play Stream
[/autoit] [autoit][/autoit] [autoit]While 1
[/autoit] [autoit][/autoit] [autoit]
Sleep (10)
WEndFunc _Exit()
[/autoit]
_Bass_Free()
Exit
EndFunc -
Ich fänds besser, wenn unten eine kleine meldung steht, dass in diesem thread seit über xy-Tagen nichts mehr geschrieben worden ist.
-
Also so ganz verstehe ich das jetzt nicht, wie wird die Karte angesprochen? oder wird die wirklick als PCI-Express Karte erkannt?
-
Ich glaube er wollte nur wissen wie er diese "Hover-Buttons" in dieser GUI macht, Bilder hat er warscheinlich schon oder nicht?
Es ist ja nur für das Fußpedal ;Dlg
Ali -
Für meine teil: Bitte bitte!
-
Du musst die Position und Breite oben anpassen:
[autoit]$iX = 100 ;Fensterposition (X) in Pixeln //Anpassen
[/autoit]
$iY = 100 ;Fensterposition (Y) in Pixeln //
$iWidth = 627 ;Fenstergröße (W) in Pixeln //
$iHeight = 619 ;Fenstergröße (H) in Pixeln //z.B. 250;D
-
Hab ich es so richtig?:
Spoiler anzeigen
[autoit]#NoTrayIcon
[/autoit] [autoit][/autoit] [autoit]#include <GUIConstants.au3>
[/autoit] [autoit][/autoit] [autoit]
#include <WindowsConstants.au3>
#include <StaticConstants.au3>Opt("GUIOnEventMode", 1)
[/autoit] [autoit][/autoit] [autoit]$iX = 100 ;Fensterposition (X) in Pixeln
[/autoit] [autoit][/autoit] [autoit]
$iY = 100 ;Fensterposition (Y) in Pixeln
$iWidth = 627 ;Fenstergröße (W) in Pixeln
$iHeight = 619 ;Fenstergröße (H) in Pixeln$iColorBG = 0x1D1D1F ;Hintergrundfarbe RGB
[/autoit] [autoit][/autoit] [autoit]
$iColorFont = 0xFFF10A ;Schriftfarbe RGB$sText = "Hallo Welt!" ;Anzeigetext
[/autoit] [autoit][/autoit] [autoit]
$iSize = 12; Schriftgröße$sPass = "1234" ;Passwort
[/autoit] [autoit][/autoit] [autoit]$hWnd = GUICreate("", $iWidth, $iHeight, $iX, $iY, $WS_POPUP, $WS_EX_TOPMOST)
[/autoit] [autoit][/autoit] [autoit]
GUISetBkColor(0x1D1D1F)
$Pic = GUICtrlCreatePic(@ScriptDir & "\Psc.jpg", 0, 0, $iWidth, $iHeight) ;@ScriptDir & "\DeinHintergrundBild.jpg" //Bild im gleichen Ordner wie das Script$cLabel = GUICtrlCreateLabel($sText, 0, 0, $iWidth, $iHeight, BitOR($SS_CENTER, $SS_CENTERIMAGE))
[/autoit] [autoit][/autoit] [autoit]
GUICtrlSetFont(-1, $iSize, 400, 0, "Arial", 4)
GUICtrlSetBkColor(-1, $GUI_BKCOLOR_TRANSPARENT)GUISetState()
[/autoit] [autoit][/autoit] [autoit];~ GUICtrlSetOnEvent($cLabel, "_Password") ; D;
[/autoit] [autoit][/autoit] [autoit]
GUISetOnEvent($GUI_EVENT_PRIMARYDOWN, "_Password", $hWnd) ;Funtioniert Besser (andere geht nun garnicht mehr) | Wenn die linke Maustaste auf der GUI gedrückt wird "_Password" ausführen
While Sleep(1000)
WEndFunc _Password()
[/autoit]
$sPassInput = InputBox("Passwort", "Bitte das Passwort eingeben:", "", "*", 200, 150)
If $sPassInput == $sPass Then Exit
EndFunc ;==>_Password -
Kann man den Source von der App bekommen?
Bin noch totaler neuling in Android-Programmierung...
-
Glückwunsch progandy
-
Alles gute!
-
Happy Birthday!
Auch für ProGamer -
chip Warum macht es mit XMBC keinen Spaß sondern ist eine Qual?
Ich war am überlegen mir es genau dafür auch zu kaufen...