Accueil > > > VOIR TOUS LE MONDE ÉCRIRE EN UNE COULEUR SPÉCIFIER PAR VOUS !!!
VOIR TOUS LE MONDE ÉCRIRE EN UNE COULEUR SPÉCIFIER PAR VOUS !!!
Information sur la source
Description
J'ai fait un dialog, pour voir tous le monde écrire en une seule couleurs, parce que je déteste voir des couleur qui me "nique" les yeux, j'ai décidé de faire profiter de se dialog a tous le monde :) Comme options il y a les 16 couleurs principaux (ctrl+k) et aussi le surligner et le gras, plus tard a venir je vais mettre la premiere lettres en couleurs pour les fans de couleurs ^^. Bon pour en finir avec tous se blahblah, il a 2 manieres pour ouvrir le dialog, 1. tapez /textp // 2. tapez /dialog -m textp textp
alors profitez au maximun de ce dialog :))
Tous cas de bug ou de suggestion, veuillez me le dire dans les commentaires merci
Source
- alias textp { dialog -m textp textp }
- dialog textp {
- title "Text Du PeoPle En Une Couleur"
- size -1 -1 116 50
- option dbu
- text "Choix De Couleur !", 2, 2 1 49 8
- check "Cocher pour activer", 3, 57 0 57 10
- button "OK", 4, 65 12 49 12, flat ok
- edit "", 1, 4 11 50 10, read
- list 6, 4 23 50 25, size
- button "Tester", 7, 65 24 49 12, flat
- check "Gras", 8, 57 40 24 10
- check "Souligner", 9, 83 40 31 10
- }
- on *:dialog:textp:*:*:{
- if ($devent == init) {
- themeecriture
- if (%themeecriturename) { did -ra textp 1 %themeecriturename }
- if ($group(#themeecriture)) { did -c textp 3 }
- if (%themeecrituregras) { did -c textp 8 }
- if (%themeecrituresoul) { did -c textp 9 }
- }
- elseif ($devent == sclick) {
- if $did == 3 { $iif($did(3).state,.enable,.disable) #themeecriture }
- if $did == 6 {
- did -ra textp 1 $did(textp,6).seltext
- if $calc($did(6).sel - 1) < 10 { set %themeecriture $+ $calc($did(6).sel - 1) }
- else { set %themeecriture $+ $calc($did(6).sel - 1) }
- }
- if $did == 7 { echo -a $timestamp $+(%themeecrituresoul,%themeecriture,%themeecrituregras,$strip(08Ceci 11c'est 12pour 03vous 13montrer 06qui 07a 00qu'une 09couleur !!!)) }
- if $did == 8 { $iif($did(8).state,set,unset) %themeecrituregras }
- if $did == 9 { $iif($did(9).state,set,unset) %themeecrituresoul }
- }
- }
- #themeecriture off
- on ^1:text:*:#:{ haltdef | echo # $timestamp < $+ $nick $+ > $+(%themeecrituregras,%themeecrituresoul,%themeecriture,$strip($1-)) }
- #themeecriture end
- alias -l themeecriture {
- did -a textp 6 Blanc | did -a textp 6 Noir
- did -a textp 6 Bleue Marine | did -a textp 6 Vert
- did -a textp 6 Rouge | did -a textp 6 Brun
- did -a textp 6 Violet | did -a textp 6 Orange
- did -a textp 6 Jaune | did -a textp 6 Vert Fluo
- did -a textp 6 Cyan Foncé | did -a textp 6 Cyan
- did -a textp 6 Bleu | did -a textp 6 Mauve
- did -a textp 6 Gris Foncé | did -a textp 6 Gris
- }
alias textp { dialog -m textp textp }
dialog textp {
title "Text Du PeoPle En Une Couleur"
size -1 -1 116 50
option dbu
text "Choix De Couleur !", 2, 2 1 49 8
check "Cocher pour activer", 3, 57 0 57 10
button "OK", 4, 65 12 49 12, flat ok
edit "", 1, 4 11 50 10, read
list 6, 4 23 50 25, size
button "Tester", 7, 65 24 49 12, flat
check "Gras", 8, 57 40 24 10
check "Souligner", 9, 83 40 31 10
}
on *:dialog:textp:*:*:{
if ($devent == init) {
themeecriture
if (%themeecriturename) { did -ra textp 1 %themeecriturename }
if ($group(#themeecriture)) { did -c textp 3 }
if (%themeecrituregras) { did -c textp 8 }
if (%themeecrituresoul) { did -c textp 9 }
}
elseif ($devent == sclick) {
if $did == 3 { $iif($did(3).state,.enable,.disable) #themeecriture }
if $did == 6 {
did -ra textp 1 $did(textp,6).seltext
if $calc($did(6).sel - 1) < 10 { set %themeecriture $+ $calc($did(6).sel - 1) }
else { set %themeecriture $+ $calc($did(6).sel - 1) }
}
if $did == 7 { echo -a $timestamp $+(%themeecrituresoul,%themeecriture,%themeecrituregras,$strip(08Ceci 11c'est 12pour 03vous 13montrer 06qui 07a 00qu'une 09couleur !!!)) }
if $did == 8 { $iif($did(8).state,set,unset) %themeecrituregras }
if $did == 9 { $iif($did(9).state,set,unset) %themeecrituresoul }
}
}
#themeecriture off
on ^1:text:*:#:{ haltdef | echo # $timestamp < $+ $nick $+ > $+(%themeecrituregras,%themeecrituresoul,%themeecriture,$strip($1-)) }
#themeecriture end
alias -l themeecriture {
did -a textp 6 Blanc | did -a textp 6 Noir
did -a textp 6 Bleue Marine | did -a textp 6 Vert
did -a textp 6 Rouge | did -a textp 6 Brun
did -a textp 6 Violet | did -a textp 6 Orange
did -a textp 6 Jaune | did -a textp 6 Vert Fluo
did -a textp 6 Cyan Foncé | did -a textp 6 Cyan
did -a textp 6 Bleu | did -a textp 6 Mauve
did -a textp 6 Gris Foncé | did -a textp 6 Gris
}
Conclusion
a venir le combo pour les amateur de combo et le fond specialement pour wims :)
Historique
- 31 mars 2005 02:00:01 :
- j'ai modifier le probleme du $if
- 31 mars 2005 03:00:49 :
- 31 mars 2005 03:11:25 :
- .
- 02 avril 2005 15:15:32 :
- .
- 02 avril 2005 15:18:12 :
- .
- 06 avril 2005 03:21:55 :
- j'ai modifier les sclick init et les $if
- 09 avril 2005 16:13:16 :
- modifier la couleur et remit le on text :)
Sources du même auteur
Sources de la même categorie
Commentaires et avis
|
Derniers Blogs
TECHDAYS PARIS 2012 : NOUVELLES TENDANCES DU POSTE DE TRAVAIL - BRING YOUR OWN PCTECHDAYS PARIS 2012 : NOUVELLES TENDANCES DU POSTE DE TRAVAIL - BRING YOUR OWN PC par ROMELARD Fabrice
Speakers: Thierry Rapatout, Antoine Petit et Xavier Trebbia Cette session entre dans le cadre des RDV Décideurs des TechDays 2012, elle est liée à la consumérisation de l'IT et la mise en place du "DeskTop as a Service" dans de plus en ...
Cliquez pour lire la suite de l'article par ROMELARD Fabrice 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
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
|