Accueil > > > AUTOJOIN PAR NETWORK EN DIALOG
AUTOJOIN PAR NETWORK EN DIALOG
Information sur la source
Description
autojoin par network en dialog ,supporte un nombre infini de channels
Source
- ;codé par _NicX_
-
- menu channel {
- [Auto-Join]
- .voir:dialog -m join join
- .ajouter $chan:ajouter
- }
-
- dialog join {
- title "Auto-join"
- size -1 -1 118 215
- option dbu
- box "", 10, 1 56 116 158
- box "network actuel", 2, 2 2 114 52
- edit "", 3, 5 21 108 10, read
- radio "On", 8, 68 42 17 10, left
- radio "Off", 9, 91 42 17 10, left
- list 1, 3 62 61 149, size
- box "", 11, 65 61 50 37
- button "Ajouter", 12, 67 66 46 13
- button "Enlever", 13, 67 83 46 13
- box "", 14, 65 98 50 34
- button "Joindre", 15, 67 102 46 13
- button "Names", 16, 67 117 46 13
- box "", 17, 66 161 49 50
- button "Tout effacer", 18, 68 167 45 20
- button "Fermer", 19, 68 188 45 20, ok
- }
-
- alias ajouter {
- /write $network $+ .jcvd $chan
- echo -a Le channel $chan a bien été ajouté à l'autojoin pour le réseau $network
- }
-
-
- on *:dialog:join:init:0: {
- did -r join 3 | /did -a join 3 $network
- if ($group(#join) == on) { did -c join 8 }
- if ($group(#join) == off) { did -c join 9 }
- if ($network $+ .jcvd == $null) halt
- if ($lines($network $+ .jcvd) != $null) { loadbuf 1-100 -o join 1 $network $+ .jcvd }
- else halt
-
- }
-
- on *:dialog:join:sclick:6: { /write $network $+ .jcvd | /echo -a le fichier $network $+ .jcvd a bien était créé }
- on *:dialog:join:sclick:8: { .enable #join }
- on *:dialog:join:sclick:9: { .disable #join }
- on *:dialog:join:sclick:12: { ajout }
- on *:dialog:join:sclick:13: { vire }
- on *:dialog:join:sclick:15: { joindre }
- on *:dialog:join:sclick:16: { noms }
- on *:dialog:join:sclick:18: { remove $network $+ .jcvd | /echo -a le fichier $network $+ .jcvd a bien était effacé }
-
-
-
- alias ajout {
- set %ajout $$?="Entre un channel à joindre comme #france"
- /write $network $+ .jcvd %ajout
- /did -a join 1 %ajout
- /echo -a Le channel %ajout a bien été ajouté à l'autojoin pour le réseau $network
- unset %ajout
- }
-
- alias vire {
- set %deline $did(1).sel
- if (%deline == $null) { echo -a Tu n'as rien sélectionné }
- else {
- /echo -a Le channel $did(1,$did(1).sel).text a bien été enlevé de l'autojoin pour le réseau $network
- Write -dw"* $+ $did(1,$did(1).sel).text $+ *" $network $+ .jcvd
- /did -d join 1 $did(1).sel
- unset %deline
- }
- }
-
- alias joindre {
- if ($did(1).sel == $null) { echo -a Tu dois sélectionner un channel }
- else {
- set %joinline $did(1,$did(1).sel).text
- /join %joinline
- unset %joinline
- }
- }
-
- alias noms {
- if ($did(1).sel == $null) { echo -a Tu dois sélectionner un channel }
- else {
- set %joinoms $did(1,$did(1).sel).text
- /names %joinoms
- unset %joinoms
- }
- }
-
- #join on
-
- on *:connect: {
- set %conjoin 0
- while (%conjoin < $lines($network $+ .jcvd)) {
- inc %conjoin
- .timerjoin [ $+ [ %conjoin ] ] 1 $calc(%conjoin * 3) join $read($network $+ .jcvd,%conjoin)
- }
- }
-
- #join end
;codé par _NicX_
menu channel {
[Auto-Join]
.voir:dialog -m join join
.ajouter $chan:ajouter
}
dialog join {
title "Auto-join"
size -1 -1 118 215
option dbu
box "", 10, 1 56 116 158
box "network actuel", 2, 2 2 114 52
edit "", 3, 5 21 108 10, read
radio "On", 8, 68 42 17 10, left
radio "Off", 9, 91 42 17 10, left
list 1, 3 62 61 149, size
box "", 11, 65 61 50 37
button "Ajouter", 12, 67 66 46 13
button "Enlever", 13, 67 83 46 13
box "", 14, 65 98 50 34
button "Joindre", 15, 67 102 46 13
button "Names", 16, 67 117 46 13
box "", 17, 66 161 49 50
button "Tout effacer", 18, 68 167 45 20
button "Fermer", 19, 68 188 45 20, ok
}
alias ajouter {
/write $network $+ .jcvd $chan
echo -a Le channel $chan a bien été ajouté à l'autojoin pour le réseau $network
}
on *:dialog:join:init:0: {
did -r join 3 | /did -a join 3 $network
if ($group(#join) == on) { did -c join 8 }
if ($group(#join) == off) { did -c join 9 }
if ($network $+ .jcvd == $null) halt
if ($lines($network $+ .jcvd) != $null) { loadbuf 1-100 -o join 1 $network $+ .jcvd }
else halt
}
on *:dialog:join:sclick:6: { /write $network $+ .jcvd | /echo -a le fichier $network $+ .jcvd a bien était créé }
on *:dialog:join:sclick:8: { .enable #join }
on *:dialog:join:sclick:9: { .disable #join }
on *:dialog:join:sclick:12: { ajout }
on *:dialog:join:sclick:13: { vire }
on *:dialog:join:sclick:15: { joindre }
on *:dialog:join:sclick:16: { noms }
on *:dialog:join:sclick:18: { remove $network $+ .jcvd | /echo -a le fichier $network $+ .jcvd a bien était effacé }
alias ajout {
set %ajout $$?="Entre un channel à joindre comme #france"
/write $network $+ .jcvd %ajout
/did -a join 1 %ajout
/echo -a Le channel %ajout a bien été ajouté à l'autojoin pour le réseau $network
unset %ajout
}
alias vire {
set %deline $did(1).sel
if (%deline == $null) { echo -a Tu n'as rien sélectionné }
else {
/echo -a Le channel $did(1,$did(1).sel).text a bien été enlevé de l'autojoin pour le réseau $network
Write -dw"* $+ $did(1,$did(1).sel).text $+ *" $network $+ .jcvd
/did -d join 1 $did(1).sel
unset %deline
}
}
alias joindre {
if ($did(1).sel == $null) { echo -a Tu dois sélectionner un channel }
else {
set %joinline $did(1,$did(1).sel).text
/join %joinline
unset %joinline
}
}
alias noms {
if ($did(1).sel == $null) { echo -a Tu dois sélectionner un channel }
else {
set %joinoms $did(1,$did(1).sel).text
/names %joinoms
unset %joinoms
}
}
#join on
on *:connect: {
set %conjoin 0
while (%conjoin < $lines($network $+ .jcvd)) {
inc %conjoin
.timerjoin [ $+ [ %conjoin ] ] 1 $calc(%conjoin * 3) join $read($network $+ .jcvd,%conjoin)
}
}
#join end
Sources du même auteur
Sources de la même categorie
Commentaires et avis
|
Derniers Blogs
TECHDAYS PARIS 2012 : SYSTEM CENTER SERVICE MANAGER 2012 VUE D'ENSEMBLETECHDAYS PARIS 2012 : SYSTEM CENTER SERVICE MANAGER 2012 VUE D'ENSEMBLE par ROMELARD Fabrice
Speakers: Julien Marechal, Gautier Confiant, Sébastien MEYER La session débute par le positionnement de la solution System Center par rapport aux concepts d'organisation ITIL. Le portail du catalogue de se...
Cliquez pour lire la suite de l'article par ROMELARD Fabrice TECHDAYS PARIS 2012 : PLEINIèRE SECOND JOURTECHDAYS PARIS 2012 : PLEINIèRE SECOND JOUR par ROMELARD Fabrice
Après une première journée dédiée aux développeurs, cette seconde journée est dédiée au monde des entreprises et de ses applications. Ainsi, cette pleinière est dédiée à faire un 360 de l'évolution des applications Business aux demandes ac...
Cliquez pour lire la suite de l'article par ROMELARD Fabrice TECHDAYS PARIS 2012 : RETOUR D'EXPéRIENCE SUR LA MISE EN PLACE D'UN CLOUD PRIVéTECHDAYS PARIS 2012 : RETOUR D'EXPéRIENCE SUR LA MISE EN PLACE D'UN CLOUD PRIVé par ROMELARD Fabrice
Speaker : Guillaume Rochette Cette session est dédiée à fournir le retour sur la mise en place d'un cloud privé (IaaS) par Osiatis pour son compte ou celui de ses clients. Ce projet s'est déroulé sur 4 mois et a permis de faire évoluer...
Cliquez pour lire la suite de l'article par ROMELARD Fabrice TECHDAYS PARIS 2012 : COMMENT SHAREPOINT A SAUVé MES TECHDAYSTECHDAYS PARIS 2012 : COMMENT SHAREPOINT A SAUVé MES TECHDAYS par ROMELARD Fabrice
Speakers : Lionel Limozin et Alain Marty La session commence par une découverte de SharePoint à travers la mise en place d'un environnement SharePoint pour la gestion des Sessions animées par BeWise. Le besoin est très ba...
Cliquez pour lire la suite de l'article par ROMELARD Fabrice PERSPECTIVE 3.0 POUR SILVERLIGHT 5.0PERSPECTIVE 3.0 POUR SILVERLIGHT 5.0 par odewit
Je viens de publier la version 3.0 de Perspective pour Silverlight, qui regroupe un portage sous Silverlight 5.0 des fonctionnalités de Perspective 2.0, le framework 3D de haut-niveau introduit récemment et de nouveaux exemples de code. En voici la li...
Cliquez pour lire la suite de l'article par odewit
Forum
RE : AIDERE : AIDE par Nico26000
Cliquez pour lire la suite par Nico26000 RE : AIDERE : AIDE par WorldDMT
Cliquez pour lire la suite par WorldDMT AIDEAIDE par Nico26000
Cliquez pour lire la suite par Nico26000
Logiciels
Academy System (17.2.1.0)ACADEMY SYSTEM (17.2.1.0)Logiciel de gestion des établissements.
- élèves/étudiants (inscription, dossier, absence...)
-... Cliquez pour télécharger Academy System Easy-Planning (1.0.0.1)EASY-PLANNING (1.0.0.1)Basé sur les mêmes principes que MyPlanning, Easy-Planning permet de créer des plannings sous la ... Cliquez pour télécharger Easy-Planning COLLECTOR PLUS (3.00B)COLLECTOR PLUS (3.00B)COLLECTOR PLUS version 3.00B est un logiciel utilisant une base de données alimentée par :
- L... Cliquez pour télécharger COLLECTOR PLUS PONAMEDIA PREMIUM - HELLLOOO FLASH DEMO (V7.4)PONAMEDIA PREMIUM - HELLLOOO FLASH DEMO (V7.4)PONAMEDIA TV DEVIENS HELLLOOO FLASH
LA TV SUR VOTRE ORDINATEUR.
Toute une plateforme Multi... Cliquez pour télécharger PONAMEDIA PREMIUM - HELLLOOO FLASH DEMO LettresFaciles 2011 (8.0.0.1)LETTRESFACILES 2011 (8.0.0.1)LettresFaciles est un logiciel facilitant la création et la rédaction de lettres types.
Son inte... Cliquez pour télécharger LettresFaciles 2011
|