I've created a new dialog for my personal script for mp3 playing and decided i'd also like to have a radio player in it also. The problem i ran accross is that most online radio streams use realplayer or windows media player. This would work fine if i didn't have one of them opening when the radio station is selected from the dropdown within the dialog. Is there a way to make/get realplayer and/or windows media player to load but in the background so it's never seen loading or even being used for that matter. Things such as radio stations loading (being able to see the program open) windows or other programs installed to play them is kinda pointless in my opinion.
dialog radio {
title "Radio"
size -1 -1 104 18
option dbu
combo 1, 2 5 60 50, size drop
button "Go", 2, 65 5 37 10
box "radio", 3, 65 13 36 21, hide
}
on *:dialog:radio:init:*:{
did -a radio 1 KNAC
did -c radio 1 1
var %hwnd = $dll($mircdirsystem/dlls/nHTMLn.dll,find,radio)
var %v = $dll($mircdirsystem/dlls/nHTMLn.dll,attach,%hwnd)
var %h = $dll($mircdirsystem/dlls/nHTMLn.dll,navigate,http://www.geocities.com/darqmnm/images/Outlawz_Avitar.jpg)
}
on *:dialog:radio:sclick:2:{
if ($did(1) == KNAC) { var %v = $dll($mircdirsystem/dlls/nHTMLn.dll,attach,%hwnd) | var %h = $dll($mircdirsystem/dlls/nHTMLn.dll,navigate,http://release.theplatform.com/content.select?pid=BCT5C2ep_WzY-FwhX9oOc1SZUaiInt_M&UserName=knaclive)http://release.theplatform.com/content.select?pid=BCT5C2ep_WzY-FwhX9oOc1SZUaiInt_M&UserName=knaclive) | echo -a Now Playing KNAC }
NOTE: This is just the Radio Part Of the Dialog, everything else working fine
Any help/ideas with this is greatly appreciated. I just have no clue how to get the program to load and run without me actually seeing it load and run.