mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Oct 2003
Posts: 306
J
Fjord artisan
OP Offline
Fjord artisan
J
Joined: Oct 2003
Posts: 306
dialog main {
title "SystemInfo By MoonRed Software ®2004"
size -1 -1 268 184
option dbu
box "Peripherals", 12, 2 130 249 1
button "OK", 34, 208 152 33 9, flat ok cancel
tab "Datos", 15, 4 4 246 162
text "Display:", 14, 11 19 29 8, tab 15 right
text "Monitor:", 18, 19 29 21 8, tab 15 right
text "Placa de Sonido", 20, 32 68 42 8, tab 15
text "Placa de Video", 16, 34 54 36 8, tab 15 right
edit "", 13, 54 18 187 10, tab 15 read autohs
edit , 17, 54 28 187 10, tab 15 read autohs
edit $de(soundcard), 19, 120 65 94 10, tab 15 read autohs
edit $de(videocard), 11, 120 49 125 10, tab 15 read
box "", 30, 7 39 243 10, tab 15
tab "-= Sistema Operativo =-", 21
text "Sistema Operativo", 1, 11 21 57 8, tab 21
edit $de(os), 2, 87 21 153 10, tab 21 autohs read
text "Espacio Total", 43, 146 57 43 8, tab 21
edit %HD_total_info, 42, 192 56 51 10, tab 21 read autohs
edit %hd_used_info, 49, 192 69 51 10, tab 21 read autohs
text "Libre:", 51, 147 70 14 8, tab 21
box "Disco Rigido Capacidad y Modelo", 3, 135 48 112 59, tab 21
edit %hd_free_info, 5, 192 81 51 10, tab 21 read
text "Ocupado:", 6, 147 81 25 8, tab 21
text "Fecha de Instalacion", 9, 12 36 61 8, tab 21
edit %infosys10_check_win, 10, 74 35 70 10, tab 21 read
tab "-= ReDeS =-", 29
text "Network:", 25, 15 27 23 8, tab 29 right
text "Connection:", 23, 8 37 30 8, tab 29 right
edit , 24, 40 26 199 10, tab 29 read autohs
edit "", 22, 40 36 199 10, tab 29 read autohs
box "Script", 26, 8 52 108 44, tab 29
text "Script Version:", 27, 16 61 36 8, tab 29
edit "Version 2.0", 28, 62 60 50 10, tab 29 read autohs
text "Directorio:", 31, 17 70 25 8, tab 29

tab "-= BIOS =-", 33
text "BIOS NAME", 35, 16 32 31 8, tab 33
edit $de(biosname), 36, 54 25 177 18, tab 33 read
text "Processor:", 37, 47 69 39 8, tab 33
text "Cache Primario", 38, 12 89 45 8, tab 33
text "Cache Secundario:", 41, 11 99 47 8, tab 33
edit $de(cpuL1cache), 44, 59 89 50 10, tab 33 read
edit $de(cpuL2cache), 45, 59 99 50 10, tab 33 read
edit $de(cpuinfo), 46, 89 67 153 11, tab 33 read
text "Uso del CPU", 47, 120 89 57 10, tab 33
edit $de(cpuload),48, 181 89 50 10, tab 33 read
edit $de(biosdate), 7, 59 47 67 10, tab 33 read
text "Fecha Bios ", 8, 13 48 43 8, tab 33
box "Cpu Info", 39, 6 59 240 86, tab 33
edit $de(cpuarchitech), 4, 181 98 50 9, tab 33 read
text "Arquitectura de Cpu", 40, 121 99 56 8, tab 33
edit $de(cpudetails), 52, 48 189 195 8, tab 33 read
edit $de(cpucount), 50, 21 68 21 10, tab 33 read
text "Windows User:", 32, 8 153 46 8
edit $de(username), 100, 56 152 50 10, read
}



alias mdx_fullpath { return $+(",\\graciela\daniel\KamelotScript\\mdx.dll,") }

alias mdx { dll $mdx_fullpath $1- }

alias mdxinit {
dll $mdx_fullpath SetMircVersion $version
dll $mdx_fullpath MarkDialog $dname
}

dialog cpuinfo {
size -1 -1 500 332
title "Dialog"
list 1,20 20 463 85,extsel size
}
on *:dialog:cpuinfo:init:*:{
mdxinit
mdx SetControlMDX $dname 1 ListView report flatsb single grid > \\graciela\daniel\KamelotScript\\views.mdx
did -i $dname 1 1 headerdims 100 100
did -i $dname 1 1 headertext CpuInfo $chr(9) Mhz
}


i want add the cpuinfo dialog into a Main Dialog any Help?

thnx all




mess with the best
Joined: Sep 2003
Posts: 98
N
Babel fish
Offline
Babel fish
N
Joined: Sep 2003
Posts: 98
put
Code:
 list 1,20 20 463 85,extsel size  

in the main dialog
and then put this
Code:
 
mdxinit
mdx SetControlMDX $dname 1 ListView report flatsb single grid > \\graciela\daniel\KamelotScript\\views.mdx
did -i $dname 1 1 headerdims 100 100
did -i $dname 1 1 headertext CpuInfo $chr(9) Mhz
 

into the
Code:
 on *:dialog:main:init:*: {  }  


www.stwar.us.to
IRCnet - #stwar

Link Copied to Clipboard