|
Post by Gato-[X]™ on May 19, 2003 9:53:57 GMT -5
Hey guys i would like to put a little Mp3 in ma Switchbar ... i got this
box "Mp3 Player", 233, 2 30 82 190, tab 215 list 234, 3 38 79 123, tab 215 size vsbar edit "", 235, 3 162 79 10, tab 215 button "Play", 236, 6 173 37 12, tab 215 default flat button "Stop", 237, 43 173 37 12, tab 215 default flat button "Pause", 238, 6 186 37 12, tab 215 default flat button "Select Dir", 239, 43 186 37 12, tab 215 default flat button "Msg Chan", 240, 6 199 37 12, tab 215 default flat button "Echo", 241, 43 199 37 12, tab 215 default flat text "MP3 Player V.10 By Gato-[X]", 242, 2 211 82 8, tab 215 center }
and i do this code .. but It doesent work ... what Im doing wrong ???
;;alias;; alias mdx { return dlls\mdx.dll } alias switchbar { dialog -m switchbar switchbar } alias list { var %x = 1 while (%x <= $findfile(%dir,*.switchbar,0)) { did -a switchbar 234 $remove($findfile(%dir,*.switchbar,%x),%dir,.switchbar) inc %x } } ;;Events;; on *:dialog:switchbar:sclick:*: { if $did = 239 { if (%dir == $null) { set %dir $sdir($mircdir,Choose mp3 dir) } did -r switchbar 234 list } } on *:dialog:switchbar:dclick:234: { splay $+(%dir,$did(234).seltext,.switchbar) | did -r switchbar 235 | did -a switchbar 235 $+(Playing:,$did(234).seltext) } on *:dialog:switchbar:menu:*: { if $did = 236 { splay $+(%dir,$did(234).seltext,.switchbar) | did -a switchbar 235 $+(Playing:,$did(234).seltext) } if $did = 237 { splay stop } if $did = 238 { if (%pause != 1) { splay pause set %pause 1 } else { .splay resume | unset %pause } } }
Gato-[X]
|
|
z00ey
New Member
return is the movement of sense..
Posts: 2,309
|
Post by z00ey on May 19, 2003 10:59:02 GMT -5
moved it , seems as if you might get better response here
|
|
|
Post by Gato-[X]™ on May 19, 2003 11:02:12 GMT -5
Yea z00ey ... right now i was thinking the same u .. tx dude! ( Well i dont have to much problems with mdx ... i need help with the CODE of the MP3) But Help with this man .... Gato-[X]
|
|
ρєтэ
New Member
..:::Gєทэѕﺋѕ::..
Posts: 49
|
Post by ρєтэ on May 19, 2003 11:27:45 GMT -5
Could explain more as to which part doesnt work like doesnt play, lists dont fill events dont work...
|
|
|
Post by Gato-[X]™ on May 19, 2003 12:04:41 GMT -5
Everything doesent work for me doesnt play, lists dont fill events ...!
|
|
|
Post by tek on May 19, 2003 13:34:56 GMT -5
You can't put an mp3 player in a switchbar...
|
|
|
Post by Gato-[X]™ on May 19, 2003 13:46:17 GMT -5
I would like to put a Mp3 in my Switchbar like in TheCypherthis... you know what I mean dude Someone what to help me with this ? or It cant be a MP3 in Switchbar
|
|
zero
New Member
Posts: 37
|
Post by zero on May 19, 2003 15:40:51 GMT -5
do you mean toolbar or switchbar?
|
|
|
Post by tek on May 19, 2003 15:43:16 GMT -5
You can't put an mp3 player in a switchbar...
|
|
Trad
New Member
Posts: 1,122
|
Post by Trad on May 19, 2003 17:10:41 GMT -5
teeeeek your quoting yourself again.
|
|
z00ey
New Member
return is the movement of sense..
Posts: 2,309
|
Post by z00ey on May 19, 2003 18:21:45 GMT -5
You can't put an mp3 player in a switchbar... .. ;D.
|
|
|
Post by tek on May 20, 2003 8:08:35 GMT -5
You can't put an mp3 player in a switchbar... You can't put an mp3 player in a switchbar... You can't put an mp3 player in a switchbar... You can't put an mp3 player in a switchbar... You can't put an mp3 player in a switchbar... You can't put an mp3 player in a switchbar... You can't put an mp3 player in a switchbar... ...!!!!!!!!
|
|
Trad
New Member
Posts: 1,122
|
Post by Trad on May 20, 2003 11:24:03 GMT -5
you didnt get the joke.
when posh people with big ego's talk, they quote people, and sometimes they quote themselves to make a point, and that is very sad.
So i made the joke, your "quoting" youreself, i made a pun on the fact you CAN quote youreself on proboards, THAT is the joke
..... said Trad
|
|
|
Post by DestroyerX on May 22, 2003 2:47:22 GMT -5
whats the code for showing my res0lution in my status bar ? ne one no ( im sure u do )
|
|
|
Post by DestroyerX on May 22, 2003 4:20:56 GMT -5
to0lb@r ~.* on *:start: toolbar ;Toolbar created with Help From tek's Tutorial on http://www.Mircscripts.org dialog toolbar { title "toolbar" size -1 -1 1000 18 option dbu list 1, 1 2 1000 14, size } alias toolbar { dialog -m toolbar toolbar } on *:dialog:toolbar:init:0:{ dll mdx.dll SetMircVersion $version dll mdx.dll MarkDialog $dname dll mdx.dll SetControlMDX $dname 1 ToolBar list arrows flat wrap nodivider > bars.mdx dll mdx.dll SetDialog $dname style dll mdx.dll SetBorderStyle 2 did -i $dname 1 1 bmpsize 20 20
did -i $dname 1 1 setimage icon small $mircdirscripts/pics/msger.ico did -i $dname 1 1 setimage icon small $mircdirscripts/pics/lock.ico did -i $dname 1 1 setimage icon small $mircdirscripts/pics/cd.ico did -i $dname 1 1 setimage icon small $mircdirscripts/pics/cup.ico did -i $dname 1 1 setimage icon small $mircdirscripts/pics/msn19.ico did -i $dname 1 1 setimage icon small $mircdirscripts/pics/windows.ico did -i $dname 1 1 setimage icon small $mircdirscripts/pics/normal.ico did -i $dname 1 1 setimage icon small $mircdirscripts/pics/ico17.ico did -i $dname 1 1 setimage icon small $mircdirscripts/pics/color_butterfly.ico
did -a $dname 1 +a 1 Connect $chr(9) Connect did -a $dname 1 +a 2 Disconnect $chr(9) Disconnect did -a $dname 1 +a 3 Mp3 Player $chr(9) Mp3 Player did -a $dname 1 +a 4 Away System $chr(9) Away System did -a $dname 1 +a 5 Mode Dialog $chr(9) Mode Dialog did -a $dname 1 +a 6 Access Timers $chr(9) Access Timers did -a $dname 1 +a 7 Credits $chr(9) Oversize did -a $dname 1 +a 8 Script alarm $chr(9) did -a $dname 1 +a 9 ulist!X $chr(9)
dll ktools.dll DockToolbar $dialog($dname).hwnd }
on *:dialog:toolbar:sclick:1:{ set %toolbar $did($dname,1).sel if (%toolbar == 2) { server $server } elseif (%toolbar == 3) { disconnect } elseif (%toolbar == 4) { /bmp3 } elseif (%toolbar == 5) { /awaysys } elseif (%toolbar == 6) { /mode } elseif (%toolbar == 7) { /access } elseif (%toolbar == 8) { /credits } elseif (%toolbar == 9) { /alarm } elseif (%toolbar == 10) { /ulist }
now i have quick keys in alias rite , f1 is to q someone and f2 is quickkick etc etc , when i press f1 it opens up my mode dialog , the quickkick works fine tho , then when i try and q someone via popups it just brings my mode dialog up again .... im really stuck here , doesnt make much sense 2 me , some help would b greatly apprecialted ... and heaps of my other quick keys dont work either , just bringing up dialogs etc , im sure there is some way 2 fix this in the code
|
|