► Afficher le texte
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=H:\Script\Form1.kxf
Global $Form1_1 = GUICreate("Form1", 507, 428, 189, 132)
Global $Checkbox1= GUICtrlCreateCheckbox("7 Zip 9.2.0", 24, 16, 97, 17)
Global $Checkbox2 = GUICtrlCreateCheckbox("Adobe Reader 9", 24, 40, 97, 17)
Global $Checkbox3 = GUICtrlCreateCheckbox("Audacity 2.0.2", 24, 64, 97, 17)
Global $Checkbox4 = GUICtrlCreateCheckbox("Auslogics 3.5.0.10", 24, 88, 113, 17)
Global $Checkbox5 = GUICtrlCreateCheckbox("Ccleaner", 24, 112, 97, 17)
Global $Checkbox6 = GUICtrlCreateCheckbox("Usb Eject", 24, 136, 97, 17)
Global $Checkbox7 = GUICtrlCreateCheckbox("Flash Player", 24, 160, 97, 17)
Global $Checkbox8 = GUICtrlCreateCheckbox("Ie Privacy", 24, 184, 97, 17)
Global $Checkbox9 = GUICtrlCreateCheckbox("Kompozer", 24, 208, 97, 17)
Global $Checkbox10 = GUICtrlCreateCheckbox("Open Office 3.3.0", 24, 232, 105, 17)
Global $Checkbox11 = GUICtrlCreateCheckbox("Paint Shop Pro 4", 24, 256, 97, 17)
Global $Checkbox12 = GUICtrlCreateCheckbox("Patch DvD WmP", 24, 280, 105, 17)
Global $Checkbox13 = GUICtrlCreateCheckbox("PDF Creator", 24, 304, 97, 17)
Global $Checkbox14 = GUICtrlCreateCheckbox("Photo filtre 6.5.2", 168, 16, 97, 17)
Global $Checkbox15 = GUICtrlCreateCheckbox("Poweroff", 168, 40, 97, 17)
Global $Checkbox16 = GUICtrlCreateCheckbox("Purges Doc", 168, 64, 97, 17)
Global $Checkbox17 = GUICtrlCreateCheckbox("Shockwave", 168, 88, 97, 17)
Global $Checkbox18 = GUICtrlCreateCheckbox("Terra Explorer", 168, 112, 97, 17)
Global $Checkbox19 = GUICtrlCreateCheckbox("Vlc", 168, 136, 97, 17)
Global $Checkbox20 = GUICtrlCreateCheckbox("Checkbox20", 168, 160, 97, 17)
Global $Checkbox21 = GUICtrlCreateCheckbox("Checkbox21", 168, 184, 97, 17)
Global $Checkbox22 = GUICtrlCreateCheckbox("Checkbox22", 168, 208, 97, 17)
Global $Checkbox23 = GUICtrlCreateCheckbox("Checkbox23", 168, 232, 97, 17)
Global $Button1 = GUICtrlCreateButton("Tout cocher", 16, 360, 115, 25, $BS_NOTIFY)
Global $Button2 = GUICtrlCreateButton("Décocher tout", 144, 360, 115, 25, $BS_NOTIFY)
Global $Button3 = GUICtrlCreateButton("Installer", 408, 360, 75, 25, $BS_NOTIFY)
Global $Button4 = GUICtrlCreateButton("Retour", 304, 360, 75, 25, $BS_NOTIFY)
Global $Group1 = GUICtrlCreateGroup("", 8, 0, 489, 337)
GUICtrlCreateGroup("", -99, -99, 1, 1)
Global $Group2 = GUICtrlCreateGroup("", 8, 344, 257, 57)
GUICtrlCreateGroup("", -99, -99, 1, 1)
Global $Group3 = GUICtrlCreateGroup("", 288, 344, 209, 57)
GUICtrlCreateGroup("", -99, -99, 1, 1)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
$Checkbox[0] = GUICtrlCreateCheckbox("7 Zip 9.2.0", 24, 16, 97, 17)
$Checkbox[1] = GUICtrlCreateCheckbox("Adobe Reader 9", 24, 40, 97, 17)
$Checkbox[2] = GUICtrlCreateCheckbox("Audacity 2.0.2", 24, 64, 97, 17)
$Checkbox[3] = GUICtrlCreateCheckbox("Auslogics 3.5.0.10", 24, 88, 113, 17)
$Checkbox[4] = GUICtrlCreateCheckbox("Ccleaner", 24, 112, 97, 17)
$Checkbox[5] = GUICtrlCreateCheckbox("Usb Eject", 24, 136, 97, 17)
$Checkbox[6] = GUICtrlCreateCheckbox("Flash Player", 24, 160, 97, 17)
$Checkbox[7] = GUICtrlCreateCheckbox("Ie Privacy", 24, 184, 97, 17)
$Checkbox[8] = GUICtrlCreateCheckbox("Kompozer", 24, 208, 97, 17)
$Checkbox[9] = GUICtrlCreateCheckbox("Open Office 3.3.0", 24, 232, 105, 17)
$Checkbox[10] = GUICtrlCreateCheckbox("Paint Shop Pro 4", 24, 256, 97, 17)
$Checkbox[11] = GUICtrlCreateCheckbox("Patch DvD WmP", 24, 280, 105, 17)
$Checkbox[12] = GUICtrlCreateCheckbox("PDF Creator", 24, 304, 97, 17)
$Checkbox[13] = GUICtrlCreateCheckbox("Photo filtre 6.5.2", 168, 16, 97, 17)
$Checkbox[14] = GUICtrlCreateCheckbox("Poweroff", 168, 40, 97, 17)
$Checkbox[15] = GUICtrlCreateCheckbox("Purges Doc", 168, 64, 97, 17)
$Checkbox[16] = GUICtrlCreateCheckbox("Shockwave", 168, 88, 97, 17)
$Checkbox[17] = GUICtrlCreateCheckbox("Terra Explorer", 168, 112, 97, 17)
$Checkbox[18] = GUICtrlCreateCheckbox("Vlc", 168, 136, 97, 17)
$Checkbox[19] = GUICtrlCreateCheckbox("Checkbox20", 168, 160, 97, 17)
$Checkbox[20] = GUICtrlCreateCheckbox("Checkbox21", 168, 184, 97, 17)
$Checkbox[21] = GUICtrlCreateCheckbox("Checkbox22", 168, 208, 97, 17)
$Checkbox[22] = GUICtrlCreateCheckbox("Checkbox23", 168, 232, 97, 17)
Case $Button1
For $i = 0 to UBound($Checkbox)-1
GuiCtrlSetState($Checkbox[$i], $GUI_CHECKED)
Next
EndSwitch
WEnd