Con lo que he aprendido hasta este momento, esto es lo que he podido hacer, para mi funciona bien, segun vaya aprendiendo lo ire mejorando, les agradesco por la ayuda, espero me sigan ayudando, acepto cualquier observacion o consejo, tengo muchas dudas como que al agregar una imagen de fondo los controles no se pueden usar aunque esten a la vista.
Código: Seleccionar todo
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <File.au3>
#include <Array.au3>
GUICreate("Agregar Programas", 650, 580, 200, 100)
GUICtrlSetDefBkColor(0x6699FF)
GUICtrlCreatePic(@ScriptDir&"\oemlogo.bmp",5,5,85,60)
GUICtrlCreateLabel("Haga clic en cualquiera de los botones para agregar un programa."& _
@CRLF&@CRLF&"Este es mi primer programa es la Version 1.0",5,70,85,300)
$BtnSlr = GUICtrlCreateButton("Salir",5,550,80,25)
$BtnActlzr = GUICtrlCreateButton("Actualizar",5,525,80,25)
$BtnVlvr = GUICtrlCreateButton("Volver",5,500,80,25)
##################################################################################################
;Lee las Lineas de un Documento
$Read1 = FileReadLine(@ScriptDir&"\Programas.txt",1)
$Read2 = FileReadLine(@ScriptDir&"\Programas.txt",4)
$Read3 = FileReadLine(@ScriptDir&"\Programas.txt",7)
$Read4 = FileReadLine(@ScriptDir&"\Programas.txt",10)
$Read5 = FileReadLine(@ScriptDir&"\Programas.txt",13)
$Read6 = FileReadLine(@ScriptDir&"\Programas.txt",16)
$Read7 = FileReadLine(@ScriptDir&"\Programas.txt",19)
$Read8 = FileReadLine(@ScriptDir&"\Programas.txt",22)
$Read9 = FileReadLine(@ScriptDir&"\Programas.txt",25)
$Read10 = FileReadLine(@ScriptDir&"\Programas.txt",28)
$Read11 = FileReadLine(@ScriptDir&"\Programas.txt",31)
$Read12 = FileReadLine(@ScriptDir&"\Programas.txt",34)
$Read13 = FileReadLine(@ScriptDir&"\Programas.txt",37)
$Read14 = FileReadLine(@ScriptDir&"\Programas.txt",40)
$Read15 = FileReadLine(@ScriptDir&"\Programas.txt",43)
$Read16 = FileReadLine(@ScriptDir&"\Programas.txt",46)
$Read17 = FileReadLine(@ScriptDir&"\Programas.txt",49)
$Read18 = FileReadLine(@ScriptDir&"\Programas.txt",52)
$Read19 = FileReadLine(@ScriptDir&"\Programas.txt",55)
$Read20 = FileReadLine(@ScriptDir&"\Programas.txt",58)
$Read21 = FileReadLine(@ScriptDir&"\Programas.txt",61)
$Read22 = FileReadLine(@ScriptDir&"\Programas.txt",64)
$Read23 = FileReadLine(@ScriptDir&"\Programas.txt",67)
$Read24 = FileReadLine(@ScriptDir&"\Programas.txt",70)
$Read25 = FileReadLine(@ScriptDir&"\Programas.txt",73)
$Read26 = FileReadLine(@ScriptDir&"\Programas.txt",76)
$Read27 = FileReadLine(@ScriptDir&"\Programas.txt",79)
$Read28 = FileReadLine(@ScriptDir&"\Programas.txt",82)
$Read29 = FileReadLine(@ScriptDir&"\Programas.txt",85)
$Read30 = FileReadLine(@ScriptDir&"\Programas.txt",88)
$Read31 = FileReadLine(@ScriptDir&"\Programas.txt",91)
$Read32 = FileReadLine(@ScriptDir&"\Programas.txt",94)
$Read33 = FileReadLine(@ScriptDir&"\Programas.txt",97)
$Read34 = FileReadLine(@ScriptDir&"\Programas.txt",100)
$Read35 = FileReadLine(@ScriptDir&"\Programas.txt",103)
$Read36 = FileReadLine(@ScriptDir&"\Programas.txt",106)
$Read37 = FileReadLine(@ScriptDir&"\Programas.txt",109)
$Read38 = FileReadLine(@ScriptDir&"\Programas.txt",112)
$Read39 = FileReadLine(@ScriptDir&"\Programas.txt",115)
$Read40 = FileReadLine(@ScriptDir&"\Programas.txt",118)
$Read41 = FileReadLine(@ScriptDir&"\Programas.txt",121)
$Read42 = FileReadLine(@ScriptDir&"\Programas.txt",124)
$Read43 = FileReadLine(@ScriptDir&"\Programas.txt",127)
$Read44 = FileReadLine(@ScriptDir&"\Programas.txt",130)
$Read45 = FileReadLine(@ScriptDir&"\Programas.txt",133)
$Read46 = FileReadLine(@ScriptDir&"\Programas.txt",136)
$Read47 = FileReadLine(@ScriptDir&"\Programas.txt",139)
$Read48 = FileReadLine(@ScriptDir&"\Programas.txt",142)
$Read49 = FileReadLine(@ScriptDir&"\Programas.txt",145)
$Read50 = FileReadLine(@ScriptDir&"\Programas.txt",148)
$Read51 = FileReadLine(@ScriptDir&"\Programas.txt",151)
$Read52 = FileReadLine(@ScriptDir&"\Programas.txt",154)
$Read53 = FileReadLine(@ScriptDir&"\Programas.txt",157)
$Read54 = FileReadLine(@ScriptDir&"\Programas.txt",160)
$Read55 = FileReadLine(@ScriptDir&"\Programas.txt",163)
$Read56 = FileReadLine(@ScriptDir&"\Programas.txt",166)
$Read57 = FileReadLine(@ScriptDir&"\Programas.txt",169)
$Read58 = FileReadLine(@ScriptDir&"\Programas.txt",172)
$Read59 = FileReadLine(@ScriptDir&"\Programas.txt",175)
$Read60 = FileReadLine(@ScriptDir&"\Programas.txt",178)
$Read61 = FileReadLine(@ScriptDir&"\Programas.txt",181)
$Read62 = FileReadLine(@ScriptDir&"\Programas.txt",184)
$Read63 = FileReadLine(@ScriptDir&"\Programas.txt",187)
$Read64 = FileReadLine(@ScriptDir&"\Programas.txt",190)
$Read65 = FileReadLine(@ScriptDir&"\Programas.txt",193)
$Read66 = FileReadLine(@ScriptDir&"\Programas.txt",196)
$Read67 = FileReadLine(@ScriptDir&"\Programas.txt",199)
$Read68 = FileReadLine(@ScriptDir&"\Programas.txt",202)
$Read69 = FileReadLine(@ScriptDir&"\Programas.txt",205)
$Read70 = FileReadLine(@ScriptDir&"\Programas.txt",208)
$Read71 = FileReadLine(@ScriptDir&"\Programas.txt",211)
$Read72 = FileReadLine(@ScriptDir&"\Programas.txt",214)
$Read73 = FileReadLine(@ScriptDir&"\Programas.txt",217)
$Read74 = FileReadLine(@ScriptDir&"\Programas.txt",220)
$Read75 = FileReadLine(@ScriptDir&"\Programas.txt",223)
$Read76 = FileReadLine(@ScriptDir&"\Programas.txt",226)
$Read77 = FileReadLine(@ScriptDir&"\Programas.txt",229)
$Read78 = FileReadLine(@ScriptDir&"\Programas.txt",232)
$Read79 = FileReadLine(@ScriptDir&"\Programas.txt",235)
$Read80 = FileReadLine(@ScriptDir&"\Programas.txt",238)
##################################################################################################
;Crea los Controles
GUICtrlSetDefColor(0x990000)
Global $Anch = 120, $Alt = 25, $Sep = 25
Global $Btna1[10]
Global $Readsa1[10] = [$Read1,$Read2,$Read3,$Read4,$Read5,$Read6,$Read7,$Read8,$Read9,$Read10]
Global $BPI1 = 100, $BPA1 = 30
For $a1 = 0 To UBound($Btna1) - 1
$Btna1[$a1] = GUICtrlCreateButton($Readsa1[$a1], $BPI1,$BPA1,$Anch,$Alt)
$BPA1 += $Sep
Next
Global $Btna2[10]
Global $Readsa2[10] = [$Read11,$Read12,$Read13,$Read14,$Read15,$Read16,$Read17,$Read18,$Read19,$Read20]
Global $BPI2 = 100, $BPA2 = 320
For $a2 = 0 To UBound($Btna2) - 1
$Btna2[$a2] = GUICtrlCreateButton($Readsa2[$a2], $BPI2,$BPA2,$Anch,$Alt)
$BPA2 += $Sep
Next
Global $Btna3[10]
Global $Readsa3[10] = [$Read21,$Read22,$Read23,$Read24,$Read25,$Read26,$Read27,$Read28,$Read29,$Read30]
Global $BPI3 = 240, $BPA3 = 30
For $a3 = 0 To UBound($Btna3) - 1
$Btna3[$a3] = GUICtrlCreateButton($Readsa3[$a3], $BPI3,$BPA3,$Anch,$Alt)
$BPA3 += $Sep
Next
Global $Btna4[10]
Global $Readsa4[10] = [$Read31,$Read32,$Read33,$Read34,$Read35,$Read36,$Read37,$Read38,$Read39,$Read40]
Global $BPI4 = 240, $BPA4 = 320
For $a4 = 0 To UBound($Btna4) - 1
$Btna4[$a4] = GUICtrlCreateButton($Readsa4[$a4], $BPI4,$BPA4,$Anch,$Alt)
$BPA4 += $Sep
Next
Global $Btna5[10]
Global $Readsa5[10] = [$Read41,$Read42,$Read43,$Read44,$Read45,$Read46,$Read47,$Read48,$Read49,$Read50]
Global $BPI5 = 380, $BPA5 = 30
For $a5 = 0 To UBound($Btna5) - 1
$Btna5[$a5] = GUICtrlCreateButton($Readsa5[$a5], $BPI5,$BPA5,$Anch,$Alt)
$BPA5 += $Sep
Next
Global $Btna6[10]
Global $Readsa6[10] = [$Read51,$Read52,$Read53,$Read54,$Read55,$Read56,$Read57,$Read58,$Read59,$Read60]
Global $BPI6 = 380, $BPA6 = 320
For $a6 = 0 To UBound($Btna6) - 1
$Btna6[$a6] = GUICtrlCreateButton($Readsa6[$a6], $BPI6,$BPA6,$Anch,$Alt)
$BPA6 += $Sep
Next
Global $Btna7[10]
Global $Readsa7[10] = [$Read61,$Read62,$Read63,$Read64,$Read65,$Read66,$Read67,$Read68,$Read69,$Read70]
Global $BPI7 = 520, $BPA7 = 30
For $a7 = 0 To UBound($Btna7) - 1
$Btna7[$a7] = GUICtrlCreateButton($Readsa7[$a7], $BPI7,$BPA7,$Anch,$Alt)
$BPA7 += $Sep
Next
Global $Btna8[10]
Global $Readsa8[10] = [$Read71,$Read72,$Read73,$Read74,$Read75,$Read76,$Read77,$Read78,$Read79,$Read80]
Global $BPI8 = 520, $BPA8 = 320
For $a8 = 0 To UBound($Btna8) - 1
$Btna8[$a8] = GUICtrlCreateButton($Readsa8[$a8], $BPI8,$BPA8,$Anch,$Alt)
$BPA8 += $Sep
Next
Global $AncG = 133, $GrsG = 275, $PosI1 = 93, $PosI2 = 233, $PosI3 = 373, $PosI4 = 513, $PosA1 = 10, $PosA2 = 300
Global $ColorG = 0x6699FF, $TamFG = 10, $GrsFG = 600, $AtrbFG = 1, $FontG = "Time New Rodman"
$Conf = GUICtrlCreateGroup("Configuraciónes",$PosI1,$PosA1,$AncG,$GrsG)
GUICtrlSetFont($Conf, $TamFG, $GrsFG, $AtrbFG, $FontG)
$Apli = GUICtrlCreateGroup("Aplicaciónes",$PosI1,$PosA2,$AncG,$GrsG)
GUICtrlSetFont($Apli, $TamFG, $GrsFG, $AtrbFG,$FontG)
$Ofic = GUICtrlCreateGroup("Oficina",$PosI2,$PosA1,$AncG,$GrsG)
GUICtrlSetFont($Ofic, $TamFG, $GrsFG, $AtrbFG,$FontG)
$Repr = GUICtrlCreateGroup("Reproductores",$PosI2,$PosA2,$AncG,$GrsG)
GUICtrlSetFont($Repr, $TamFG, $GrsFG, $AtrbFG,$FontG)
$Edit = GUICtrlCreateGroup("Editores",$PosI3,$PosA1,$AncG,$GrsG)
GUICtrlSetFont($Edit, $TamFG, $GrsFG, $AtrbFG,$FontG)
$Prog = GUICtrlCreateGroup("Programación",$PosI3,$PosA2,$AncG,$GrsG)
GUICtrlSetFont($Prog, $TamFG, $GrsFG, $AtrbFG,$FontG)
$Comp = GUICtrlCreateGroup("Complementos",$PosI4,$PosA1,$AncG,$GrsG)
GUICtrlSetFont($Comp, $TamFG, $GrsFG, $AtrbFG,$FontG)
$Herr = GUICtrlCreateGroup("Herramientas",$PosI4,$PosA2,$AncG,$GrsG)
GUICtrlSetFont($Herr, $TamFG, $GrsFG, $AtrbFG,$FontG)
##################################################################################################
GUISetState(@SW_SHOW)
##################################################################################################
Global $FlRut, $FlName, $FlOpn, $Chckd
Func Actlzr()
WinClose("Agregar Programas")
ShellExecute(@ScriptDir&"\Agregar Programas.exe")
EndFunc
Func _ADD() ;Funsion para cuando se hace clic en los botones
$FlRut = FileOpenDialog("Seleccione un Ejecutable",@DesktopCommonDir,"Ejecutables (*.exe;*.bat;*.com;*.cmd)",1)
If @error or $FlRut = "" Then
$MsgBoxAnswera = MsgBox(36,"Seleccione un Ejecutable","Desea cancelar la selección del fichero?")
Select
Case $MsgBoxAnswera = 6 ;Yes y Sale de la función
Case $MsgBoxAnswera = 7 ;No
_ADD() ;Volver a seleccionar
EndSelect
Else
;$IsSelect = 1
$FlName = InputBox("Programa Agregado","Usted Selecciono el Siguiente Programa" &$FlRut&@CRLF&@CRLF&"Escriba el Nombre del Programa",""," M") ;Input Mandatory
If @error or $FlName = "" Then
$MsgBoxAnswerb = MsgBox(36,"Seleccione un Ejecutable","Desea cancelar la selección del fichero?")
Select
Case $MsgBoxAnswerb = 6 ;Yes y Sale de la función
Case $MsgBoxAnswerb = 7
EndSelect
Else
$Dflt = MsgBox(4, "Listo","Desea que el programa se instale por default")
If $Dflt = 6 Then
$Chckd = 1
Else
$Chckd = 0
EndIf
EndIf
EndIf
EndFunc
##################################################################################################
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $Btna1[0]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",1,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",2,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",3,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna1[1]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",4,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",5,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",6,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna1[2]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",7,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",8,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",9,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna1[3]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",10,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",11,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",12,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna1[4]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",13,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",14,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",15,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna1[5]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",16,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",17,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",18,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna1[6]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",19,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",20,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",21,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna1[7]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",22,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",23,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",24,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna1[8]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",25,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",26,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",27,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna1[9]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",28,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",29,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",30,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna2[0]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",31,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",32,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",33,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna2[1]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",34,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",35,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",36,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna2[2]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",37,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",38,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",39,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna2[3]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",40,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",41,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",42,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna2[4]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",43,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",44,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",45,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna2[5]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",46,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",47,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",48,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna2[6]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",49,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",50,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",51,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna2[7]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",52,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",53,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",54,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna2[8]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",55,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",56,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",57,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna2[9]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",58,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",59,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",60,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna3[0]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",61,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",62,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",63,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna3[1]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",64,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",65,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",66,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna3[2]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",67,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",68,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",69,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna3[3]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",70,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",71,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",72,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna3[4]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",73,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",74,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",75,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna3[5]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",76,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",77,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",78,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna3[6]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",79,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",80,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",81,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna3[7]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",82,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",83,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",84,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna3[8]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",85,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",86,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",87,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna3[9]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",88,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",89,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",90,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna4[0]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",91,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",92,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",93,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna4[1]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",94,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",95,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",96,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna4[2]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",97,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",98,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",99,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna4[3]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",100,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",101,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",102,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna4[4]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",103,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",104,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",105,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna4[5]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",106,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",107,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",108,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna4[6]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",109,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",110,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",111,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna4[7]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",112,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",113,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",114,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna4[8]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",115,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",116,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",117,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna4[9]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",118,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",119,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",120,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna5[0]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",121,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",122,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",123,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna5[1]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",124,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",125,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",126,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna5[2]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",127,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",128,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",129,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna5[3]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",130,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",131,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",132,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna5[4]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",133,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",134,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",135,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna5[5]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",136,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",137,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",138,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna5[6]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",139,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",140,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",141,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna5[7]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",142,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",143,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",144,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna5[8]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",145,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",146,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",147,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna5[9]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",148,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",149,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",150,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna6[0]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",151,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",152,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",153,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna6[1]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",154,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",155,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",156,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna6[2]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",157,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",158,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",159,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna6[3]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",160,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",161,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",162,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna6[4]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",163,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",164,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",165,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna6[5]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",166,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",167,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",168,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna6[6]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",169,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",170,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",171,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna6[7]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",172,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",173,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",174,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna6[8]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",175,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",176,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",177,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna6[9]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",178,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",179,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",180,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna7[0]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",181,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",182,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",183,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna7[1]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",184,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",185,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",186,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna7[2]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",187,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",188,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",189,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna7[3]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",190,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",191,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",192,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna7[4]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",193,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",194,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",195,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna7[5]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",196,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",197,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",198,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna7[6]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",199,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",200,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",201,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna7[7]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",202,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",203,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",204,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna7[8]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",205,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",206,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",207,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna7[9]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",208,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",209,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",210,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna8[0]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",211,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",212,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",213,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna8[1]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",214,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",215,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",216,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna8[2]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",217,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",218,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",219,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna8[3]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",220,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",221,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",222,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna8[4]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",223,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",224,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",225,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna8[5]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",226,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",227,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",228,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna8[6]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",229,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",230,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",231,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna8[7]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",232,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",233,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",234,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna8[8]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",235,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",236,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",237,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $Btna8[9]
Call("_ADD")
$FlOpn = FileOpen(@ScriptDir&"\Programas.txt",1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",238,$FlName,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",239,$FlRut,1)
_FileWritetoLine(@ScriptDir&"\Programas.txt",240,$Chckd,1)
FileClose($FlOpn)
Call("Actlzr")
Case $BtnActlzr
WinClose("Agregar Programas")
ShellExecute("Agregar Programas.exe")
Case $BtnVlvr
WinClose("Agregar Programas")
Sleep(1000)
ShellExecute(@ScriptDir&"\Instalador WBD")
Case $BtnSlr
Exit
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd