Accueil > > > MP3 EN SWITCHBAR ( LEFT )
MP3 EN SWITCHBAR ( LEFT )
Information sur la source
Description
bah voila c'est un MP3 avec quelque Options, encastrer dans MIRC qui évite de toujour ouvrir son MP3... moi personélement j'adore lool :D
Source
- ;----------------( Les Alias )----------------
-
- alias ktools { return dll dll\ktools.dll }
- alias lag { if ($status != disconnected) { .ctcpreply $me lag $ticks } }
- alias mdx { return dll $scriptdir\mdx.dll }
- alias ctl_gen { return dll\ctl_gen.mdx }
- alias lagbar { reso | dialog -m mp3 mp3 }
- alias reso {
- if ( ( $window(-1).w >= 1024 ) && ( $window(-1).h >= 768 ) ) {
- set %resolution 810
- }
- else {
- set %resolution 580
- }
- }
-
- ;----------------( Les Echos )----------------
-
- on *:ping: { .lag }
- on *:connect:{ .lag }
- on *:disconnect:{ .lag }
- on *:active:*:{ .lag }
- on *:ctcpreply:lag &:{
- if ($nick == $me) && ($2 isnum) {
- haltdef
- did -ra mp3 8 $int($calc($calc($ticks - $2) / 200)) | did -ra mp3 19 $calc(($ticks - $2) / 1000) sec
- }
- }
-
- alias m dialog -md mp3 mp3
- alias m+ dialog -x mp3 mp3
- dialog mp3 {
- title "->( Mp3 )<-"
- size -1 -1 113 682
- option pixels
- icon icones/mp3.ico, 0
- list 5, 4 69 104 218, size extsel
- check "Mode discret", 999, 19 369 82 16, flat
- button "Play", 1, 2 326 54 18, flat
- button "Stop", 2, 57 326 54 18, flat
- button "Pause", 3, 57 346 54 18, flat
- button "Resumer", 4, 2 346 54 18, flat
- button "Choisir le repertoire", 7, 2 306 108 18, flat
- button "Femer", 18, 270 283 65 15, ok
- edit "", 12, 0 404 109 21
- list 13, 0 424 111 187, size vsbar
- button "Ajouter", 14, 20 386 75 17, flat
- button "Supprimer", 15, 0 611 51 17, flat
- button "Utiliser", 16, 53 611 60 17, flat
- text " Lag :", 6, 4 8 33 16
- text "", 8, 2 30 97 19
- text " 0 sec", 19, 71 54 36 14
- button "+", 9, 2 290 37 15
- button "-", 10, 74 290 37 15
- }
-
-
-
- on *:dialog:mp3:init:*:{
- dll mdx.dll SetMircVersion $version
- dll mdx.dll MarkDialog $dname
- dll mdx.dll SetControlMDX $dname 1,2 treeview haslines hasbuttons linesatroot insertdroptarget > $scriptdir\\dll\\views.mdx
- dll mdx.dll SetDialog $dname style tool
- dll mdx.dll SetBorderStyle $dname 1,2 border
- dll mdx.dll SetControlMDX $dname 8 ProgressBar smooth > $ctl_gen
- dll mdx.dll SetFont $dname 1,2 +a 15 300 comic sans ms
-
- dll mdx.dll SetDialog $dname bgcolor $rgb(0,0,0)
- dll mdx.dll SetColor $dname 6 text $rgb(64,255,255)
- dll mdx.dll SetColor 6 background $rgb(000,000,000)
- dll mdx.dll SetColor 6 Textbg $rgb(000,000,000)
- dll mdx.dll SetColor $dname 19 text $rgb(64,255,255)
- dll mdx.dll SetColor 19 background $rgb(000,000,000)
- dll mdx.dll SetColor 19 Textbg $rgb(000,000,000)
- dll mdx.dll SetColor $dname 999 text $rgb(64,255,255)
- dll mdx.dll SetColor 999 background $rgb(000,000,000)
- dll mdx.dll SetColor 999 Textbg $rgb(000,000,000)
- dll mdx.dll SetColor $dname 12 text $rgb(64,255,255)
- dll mdx.dll SetColor 12 background $rgb(000,000,000)
- dll mdx.dll SetColor 12 Textbg $rgb(000,000,000)
- dll mdx.dll SetColor $dname 5 text $rgb(64,255,255)
- dll mdx.dll SetColor 5 background $rgb(000,000,000)
- dll mdx.dll SetColor 5 Textbg $rgb(000,000,000)
- dll mdx.dll SetColor $dname 13 text $rgb(64,255,255)
- dll mdx.dll SetColor 13 background $rgb(000,000,000)
- dll mdx.dll SetColor 13 Textbg $rgb(000,000,000)
-
- dll mdx.dll SetFont mp3 5 +abg 16 400 comic sans ms
- dll mdx.dll SetFont mp3 13 +abg 16 400 comic sans ms
- dll mdx.dll SetFont mp3 999 +abg 16 400 comic sans ms
- dll mdx.dll SetFont mp3 1 +abg 16 400 comic sans ms
- dll mdx.dll SetFont mp3 2 +abg 16 400 comic sans ms
- dll mdx.dll SetFont mp3 3 +abg 16 400 comic sans ms
- dll mdx.dll SetFont mp3 4 +abg 16 400 comic sans ms
- dll mdx.dll SetFont mp3 5 +abg 16 400 comic sans ms
-
-
- dll dll\\ktools.dll DockWindow $dialog(mp3).hwnd > left
- %x = $findfile(%mp3,*.mp3,0,did -a mp3 5 $nopath($1-))
- if ( %discretmp3 == oui ) { did -c $dname 999 }
- var %cpt = 1, %total = $ini(mp3.ini,0)
- while %cpt <= %total {
- did -a mp3 13 $ini(mp3.ini,%cpt)
- inc %cpt
- }
- }
-
-
- on *:dialog:mp3:sclick:16:{
- nick $did(13).seltext
- }
-
- on 1:dialog:mp3:sclick:15:{
- if $did(13).sel != $null {
- remini mp3.ini $did(13).seltext
- did -d mp3 13 $did(13).sel
- }
- }
-
-
- on *:dialog:mp3:sclick:999:{
- if ( $did(999).state == 1 ) { set %discretmp3 oui }
- else { set %discretmp3 non }
- }
- on 1:dialog:mp3:sclick:*:{
- if ($did == 1) {
- if ( %discretmp3 == oui ) { //splay stop | //splay " $+ $findfile(%mp3,$did(mp3,5).seltext,1) $+ " | echo -a 12( 14J'ecoute 12) ( 14Titre : $mp3($insong.fname).title 12) ( 14Durée : $duration($calc($sound($insong.fname).length / 1000)) 12) ( 14Taille : $Round($Calc($Lof($insong.fname) / 1048576),2) $+ Mo 12) ( 14Kbps $sound($insong.fname).bitrate 12) }
- else { //splay stop | //splay " $+ $findfile(%mp3,$did(mp3,5).seltext,1) $+ " | msg $active 2[ 4. 2J'ecoute => Titre : %Mp3.Dir $did(5).seltext <= Durée : $duration($calc($sound($insong.fname).length / 1000)) 4. 2] }
- }
- if ($did == 2) { //splay stop }
- if ($did == 3) { //splay pause }
- if ($did == 4) { //splay resume }
- if ($did == 7) { //set %mp3 $sdir="->( Choisie le dossier Mp3 )<-" | var %x = $findfile(%mp3,*.mp3,0,did -a mp3 5 $nopath($1-)) }
- if ($did == 9) { vol -p $calc($vol(mp3) + 5000) }
- if ($did == 10) { vol -p $calc($vol(mp3) - 5000) }
- if ($did == 14) {
- if $did(12) != $null {
- did -a mp3 13 $did(12)
- writeini mp3.ini $did(12) ligne -
- }
- }
- }
-
-
- on *:dialog:mp3:*:*:{
- if ($devent == sclick) && ($did(3).state == 1) { set %mp3close ON }
- if ($devent == sclick) && ($did(3).state == 0) { set %mp3close OFF }
- if ($devent == sclick) && ($did(7).state == 1) { .enable #mp3 } { .disable #mp3 }
- if ($devent == sclick) && ($did(8).state == 1) { .disable #mp3 } { .enable #mp3 }
- if ($devent == sclick) && ($did(4).state == 1) { .set %mp3mess ON }
- if ($devent == sclick) && ($did(4).state == 0) { .set %mp3mess OFF }
- if ($devent == init) && ($group(#mp3) == on) { did -c mp3 7 }
- }
-
- On 1:start:{
- /m | Echo -s 12Le MP3 se LOad patiente...
- }
-
- ON *:LOAD:{
- echo -a 4Voila le MP3 switch Loader By NaNo
- echo -a BmBmx@wanadoo.fr pour tout les bugs ;)
- }
-
;----------------( Les Alias )----------------
alias ktools { return dll dll\ktools.dll }
alias lag { if ($status != disconnected) { .ctcpreply $me lag $ticks } }
alias mdx { return dll $scriptdir\mdx.dll }
alias ctl_gen { return dll\ctl_gen.mdx }
alias lagbar { reso | dialog -m mp3 mp3 }
alias reso {
if ( ( $window(-1).w >= 1024 ) && ( $window(-1).h >= 768 ) ) {
set %resolution 810
}
else {
set %resolution 580
}
}
;----------------( Les Echos )----------------
on *:ping: { .lag }
on *:connect:{ .lag }
on *:disconnect:{ .lag }
on *:active:*:{ .lag }
on *:ctcpreply:lag &:{
if ($nick == $me) && ($2 isnum) {
haltdef
did -ra mp3 8 $int($calc($calc($ticks - $2) / 200)) | did -ra mp3 19 $calc(($ticks - $2) / 1000) sec
}
}
alias m dialog -md mp3 mp3
alias m+ dialog -x mp3 mp3
dialog mp3 {
title "->( Mp3 )<-"
size -1 -1 113 682
option pixels
icon icones/mp3.ico, 0
list 5, 4 69 104 218, size extsel
check "Mode discret", 999, 19 369 82 16, flat
button "Play", 1, 2 326 54 18, flat
button "Stop", 2, 57 326 54 18, flat
button "Pause", 3, 57 346 54 18, flat
button "Resumer", 4, 2 346 54 18, flat
button "Choisir le repertoire", 7, 2 306 108 18, flat
button "Femer", 18, 270 283 65 15, ok
edit "", 12, 0 404 109 21
list 13, 0 424 111 187, size vsbar
button "Ajouter", 14, 20 386 75 17, flat
button "Supprimer", 15, 0 611 51 17, flat
button "Utiliser", 16, 53 611 60 17, flat
text " Lag :", 6, 4 8 33 16
text "", 8, 2 30 97 19
text " 0 sec", 19, 71 54 36 14
button "+", 9, 2 290 37 15
button "-", 10, 74 290 37 15
}
on *:dialog:mp3:init:*:{
dll mdx.dll SetMircVersion $version
dll mdx.dll MarkDialog $dname
dll mdx.dll SetControlMDX $dname 1,2 treeview haslines hasbuttons linesatroot insertdroptarget > $scriptdir\\dll\\views.mdx
dll mdx.dll SetDialog $dname style tool
dll mdx.dll SetBorderStyle $dname 1,2 border
dll mdx.dll SetControlMDX $dname 8 ProgressBar smooth > $ctl_gen
dll mdx.dll SetFont $dname 1,2 +a 15 300 comic sans ms
dll mdx.dll SetDialog $dname bgcolor $rgb(0,0,0)
dll mdx.dll SetColor $dname 6 text $rgb(64,255,255)
dll mdx.dll SetColor 6 background $rgb(000,000,000)
dll mdx.dll SetColor 6 Textbg $rgb(000,000,000)
dll mdx.dll SetColor $dname 19 text $rgb(64,255,255)
dll mdx.dll SetColor 19 background $rgb(000,000,000)
dll mdx.dll SetColor 19 Textbg $rgb(000,000,000)
dll mdx.dll SetColor $dname 999 text $rgb(64,255,255)
dll mdx.dll SetColor 999 background $rgb(000,000,000)
dll mdx.dll SetColor 999 Textbg $rgb(000,000,000)
dll mdx.dll SetColor $dname 12 text $rgb(64,255,255)
dll mdx.dll SetColor 12 background $rgb(000,000,000)
dll mdx.dll SetColor 12 Textbg $rgb(000,000,000)
dll mdx.dll SetColor $dname 5 text $rgb(64,255,255)
dll mdx.dll SetColor 5 background $rgb(000,000,000)
dll mdx.dll SetColor 5 Textbg $rgb(000,000,000)
dll mdx.dll SetColor $dname 13 text $rgb(64,255,255)
dll mdx.dll SetColor 13 background $rgb(000,000,000)
dll mdx.dll SetColor 13 Textbg $rgb(000,000,000)
dll mdx.dll SetFont mp3 5 +abg 16 400 comic sans ms
dll mdx.dll SetFont mp3 13 +abg 16 400 comic sans ms
dll mdx.dll SetFont mp3 999 +abg 16 400 comic sans ms
dll mdx.dll SetFont mp3 1 +abg 16 400 comic sans ms
dll mdx.dll SetFont mp3 2 +abg 16 400 comic sans ms
dll mdx.dll SetFont mp3 3 +abg 16 400 comic sans ms
dll mdx.dll SetFont mp3 4 +abg 16 400 comic sans ms
dll mdx.dll SetFont mp3 5 +abg 16 400 comic sans ms
dll dll\\ktools.dll DockWindow $dialog(mp3).hwnd > left
%x = $findfile(%mp3,*.mp3,0,did -a mp3 5 $nopath($1-))
if ( %discretmp3 == oui ) { did -c $dname 999 }
var %cpt = 1, %total = $ini(mp3.ini,0)
while %cpt <= %total {
did -a mp3 13 $ini(mp3.ini,%cpt)
inc %cpt
}
}
on *:dialog:mp3:sclick:16:{
nick $did(13).seltext
}
on 1:dialog:mp3:sclick:15:{
if $did(13).sel != $null {
remini mp3.ini $did(13).seltext
did -d mp3 13 $did(13).sel
}
}
on *:dialog:mp3:sclick:999:{
if ( $did(999).state == 1 ) { set %discretmp3 oui }
else { set %discretmp3 non }
}
on 1:dialog:mp3:sclick:*:{
if ($did == 1) {
if ( %discretmp3 == oui ) { //splay stop | //splay " $+ $findfile(%mp3,$did(mp3,5).seltext,1) $+ " | echo -a 12( 14J'ecoute 12) ( 14Titre : $mp3($insong.fname).title 12) ( 14Durée : $duration($calc($sound($insong.fname).length / 1000)) 12) ( 14Taille : $Round($Calc($Lof($insong.fname) / 1048576),2) $+ Mo 12) ( 14Kbps $sound($insong.fname).bitrate 12) }
else { //splay stop | //splay " $+ $findfile(%mp3,$did(mp3,5).seltext,1) $+ " | msg $active 2[ 4. 2J'ecoute => Titre : %Mp3.Dir $did(5).seltext <= Durée : $duration($calc($sound($insong.fname).length / 1000)) 4. 2] }
}
if ($did == 2) { //splay stop }
if ($did == 3) { //splay pause }
if ($did == 4) { //splay resume }
if ($did == 7) { //set %mp3 $sdir="->( Choisie le dossier Mp3 )<-" | var %x = $findfile(%mp3,*.mp3,0,did -a mp3 5 $nopath($1-)) }
if ($did == 9) { vol -p $calc($vol(mp3) + 5000) }
if ($did == 10) { vol -p $calc($vol(mp3) - 5000) }
if ($did == 14) {
if $did(12) != $null {
did -a mp3 13 $did(12)
writeini mp3.ini $did(12) ligne -
}
}
}
on *:dialog:mp3:*:*:{
if ($devent == sclick) && ($did(3).state == 1) { set %mp3close ON }
if ($devent == sclick) && ($did(3).state == 0) { set %mp3close OFF }
if ($devent == sclick) && ($did(7).state == 1) { .enable #mp3 } { .disable #mp3 }
if ($devent == sclick) && ($did(8).state == 1) { .disable #mp3 } { .enable #mp3 }
if ($devent == sclick) && ($did(4).state == 1) { .set %mp3mess ON }
if ($devent == sclick) && ($did(4).state == 0) { .set %mp3mess OFF }
if ($devent == init) && ($group(#mp3) == on) { did -c mp3 7 }
}
On 1:start:{
/m | Echo -s 12Le MP3 se LOad patiente...
}
ON *:LOAD:{
echo -a 4Voila le MP3 switch Loader By NaNo
echo -a BmBmx@wanadoo.fr pour tout les bugs ;)
}
Conclusion
wala :)
Sources du même auteur
Sources de la même categorie
Commentaires et avis
Discussions en rapport avec ce code source dans le forum
Lecteur MP3 capable de lire des fichiers sons distants [ par cyclopdev ]
Voilà un défi :est-il possible de faire un lecteur MP3 capable de lire des fichiers hébergés sur une page web, le tout pas trop lourd et entièrement m
Lecteur Mp3 [ par titeuf28310 ]
Bonjour,A chaque lecteur mp3 trouver sur le site, meme les mieux noté, fait planter mon script. je comprend pas pourquoi (mon mirc est le 6.16).Il a t
probleme avec un remote pr mp3 !!!!!!!! [ par wizord ]
alrs voila le pb .... g un remote pr lire les fichier mp3 par input ... je tape par exemple : !mp3 blable et mon remote est chargé de me trouve la mu
MP3 - switchbar probleme avec le mp3 [ par NaNo45 ]
en faite je suis en train de finir ma switchbar MP3 - noitfy listmais kan je charge le répertoire du MP3 sa affiche sur un list mais kan je clike sur
je voudrai faire un lecteur MP3 et MIDI (si possible) [ par bibi_81 ]
Voila jai deja tout di je voudrais faire un lecteur MP >ET< MIDI siouplait ... Deja me demanderez vous le formtat MIDI est peu repandu NON !!moi
Un mp3 et dcc auto [ par romeomd ]
VincentBonjour, je suis a la recher d'un addons, quand qqun va dans mon pv, il fait !Musiquealors la, une liste de musique s'affiche, et il fais son c
Pour ceux qui aiment écouter la musique en tchattant [ par Bestdoud ]
Cela fait quelque temps que je réalise un lecteur mp3 en picwin. venez le découvrir à l'adresse suivante: http://amigagaamp.free.fr voici ces caract
Remote mp3 et commande play fichier.txt [ par PALOMETTE ]
BonjourJ'ai installé un lecteur mp3 en remote qui fonctionne correctement.Le problème, c 'est que je ne peux plus utiliser la commande /play
Passer une playlist d'une radio sur iRC [ par koskos ]
Bonjour à tous!Voilà, j'ai essayé des remotes étant déjà sur ce site pour diffuser le titre d'une musique sur irc, par exemple:lorsque l'on tape: !tit
WindowS Media Player on irc [ par Princedelavil ]
Bonjour à tous,Je voudrais savoir s'il existe un code permettant de dire la chanson écouté dans Windows Media Player en tapant une commande (!wmp)Si o
|
Derniers Blogs
UNE JOLIE-HORLOGE ET PAS QU'UN PEU !UNE JOLIE-HORLOGE ET PAS QU'UN PEU ! par neodante
Pour les possesseurs d'iPhone, ça y est Bijin Tokei - qui se traduit littéralement en Français par " Jolie Horloge " - est arrivé et GRATUITEMENT s'il vous plaît ! Après la version Tokyo, Hokkaido, night club, racing, Gal, "pour les mademoiselles'", . voi...
Cliquez pour lire la suite de l'article par neodante TECHDAYS PARIS 2010 : CONNECTEZ VOS DONNéES à SHAREPOINT 2010 AVEC LES BUSINESS CONNECTIVITY SERVICESTECHDAYS PARIS 2010 : CONNECTEZ VOS DONNéES à SHAREPOINT 2010 AVEC LES BUSINESS CONNECTIVITY SERVICES par ROMELARD Fabrice
Animé par: Gaetan Bouveret et Julien Chomarat Business Connectivity Services (BCS) est dans SharePoint 2010 la version 2 de Business Data Catalog (BDC dans SharePoint 2007). Il s'agit de la solution permettant de visualiser des données provenan...
Cliquez pour lire la suite de l'article par ROMELARD Fabrice [DIVERS] SUIVRE VOS SéRIES PRéFéRéS SUR LA TOILE[DIVERS] SUIVRE VOS SéRIES PRéFéRéS SUR LA TOILE par orion
Comme de nombreux geek, je suis un grand amateur de série TV et je rate régulièrement des épisodes de mes séries préférés. Une solution s'offre à vous avec ce merveilleux site : Tv Gorge - www.tvgorge.com Moteur de recherche à l'appui, vous pouvez ...
Cliquez pour lire la suite de l'article par orion TECHDAYS PARIS 2010 : LA BI DANS SHAREPOINT 2010TECHDAYS PARIS 2010 : LA BI DANS SHAREPOINT 2010 par ROMELARD Fabrice
Animé par: Vincent Bellet et Baptiste Giraudier La BI dans SharePoint 2010, Les nouveaux services d'application dans SP2010 et SQL Server Reporting services 2008 R2. La BI dans SharePoint est généralisée pour tous afin de permettre à tous les coll...
Cliquez pour lire la suite de l'article par ROMELARD Fabrice
Forum
RE : ON RAWMODERE : ON RAWMODE par WorldDMT
Cliquez pour lire la suite par WorldDMT AVERTISSMENT ET KIKKAVERTISSMENT ET KIKK par mouhcine951990
Cliquez pour lire la suite par mouhcine951990
Logiciels
DB-MAIN (9.1.0)DB-MAIN (9.1.0)DB-MAIN is a data-modeling and data-architecture tool. It is designed to help developers and anal... Cliquez pour télécharger DB-MAIN Xilisoft DPG Convertisseur (5.1.37.0120)XILISOFT DPG CONVERTISSEUR (5.1.37.0120)Xilisoft DPG Convertisseur offre aux fans de Nintendo DS une bonne solution leur permettant de dé... Cliquez pour télécharger Xilisoft DPG Convertisseur GraphicsGale (2.01.01)GRAPHICSGALE (2.01.01)GraphicsGale est un logiciel de PixelArt avec de nombreuse fonctionnalités permettant de réalisé ... Cliquez pour télécharger GraphicsGale Architecte 3D (Platinum 2010)ARCHITECTE 3D (PLATINUM 2010)Architecte 3D Platinium vous permet de concevoir facilement les plans votre future maison, de l'é... Cliquez pour télécharger Architecte 3D TeamViewer 5 (TeamViewer 5)TEAMVIEWER 5 (TEAMVIEWER 5)Dépanner un ami,expliquer une manipulation devient un jeu d'enfant.
Prise en main d'un autre ord... Cliquez pour télécharger TeamViewer 5
Comparez les prix

HTC Magic
Entre 429€ et 429€
|