Installkit

  • hallo liebes forum,
    ich möchte mir ein eigenes installations kit erstellen mit scripten für die programme und ein hauptscript für die instaltaion
    da bin ich auf eure hilfe angewiesen da ich leider nicht sehr weit gekomm bin :/

    also hier is jetzt mal mein Hauptscript:

    habe aus verschiedenen beispielen versucht was zusammen zu basteln so sieht es momentan aus.

    jetzt die frage:

    wie kann ich die *exe´n bzw, script´s in die checkboxen tragen und wenn ich auf installieren drücke es auch startet natürlich nur wenn die checkboxen mit häckchen versehrt sind.

    hmmm und ich kann das fenster nich schliesen vohher gings hab irgentwas falsch gemacht ich weiß aber nicht wo


    schon mal danke im vorraus für eure hilfen

  • So habs nen bissel gekürzt :P es sollte nun funktionieren:

    Spoiler anzeigen
    [autoit]

    #cs ----------------------------------------------------------------------------

    [/autoit] [autoit][/autoit] [autoit]

    AutoIt Version: 3.3.1.1 (beta)
    Author: blackY.

    [/autoit] [autoit][/autoit] [autoit]

    Script Function:
    Instalkit

    [/autoit] [autoit][/autoit] [autoit]

    #ce ----------------------------------------------------------------------------

    [/autoit] [autoit][/autoit] [autoit][/autoit] [autoit]

    Example()
    Func Example()
    #include <GUIConstants.au3>
    GUICreate("Install by. blackY", 700, 500, 250, 80)
    GUICtrlCreateCombo("Standart", 10, 10) ; create first item
    GUICtrlSetData(-1, "Benutzerdefiniert|Vollständig", "Vollständig")

    [/autoit] [autoit][/autoit] [autoit]

    $Install=GUICtrlCreateButton ("Instalieren", 12, 450, 95, 25)

    [/autoit] [autoit][/autoit] [autoit]

    ;Func Example()
    Local $tab, $tab0, $tab1, $tab2, $tab3, $tab4, $tab5

    [/autoit] [autoit][/autoit] [autoit]

    $tab = GUICtrlCreateTab(50, 115, 600, 350)
    $tab0 = GUICtrlCreateTabItem("Office Bereich")
    GUICtrlSetState(-1, $GUI_SHOW); will be display first
    ;links
    $checkCN57 = GUICtrlCreateCheckbox("CHECKBOX 1", 130, 175, 120, 20)
    $checkCN58 = GUICtrlCreateCheckbox("CHECKBOX 2", 130, 215, 120, 20)
    $checkCN59 = GUICtrlCreateCheckbox("CHECKBOX 3", 130, 255, 120, 20)
    $checkCN60 = GUICtrlCreateCheckbox("CHECKBOX 4", 130, 295, 120, 20)
    $checkCN61 = GUICtrlCreateCheckbox("CHECKBOX 5", 130, 335, 120, 20)
    $checkCN62 = GUICtrlCreateCheckbox("CHECKBOX 6", 130, 375, 120, 20)
    $checkCN63 = GUICtrlCreateCheckbox("CHECKBOX 7", 130, 415, 120, 20)
    ;rechts
    $checkCN64 = GUICtrlCreateCheckbox("CHECKBOX 1", 430, 175, 120, 20)
    $checkCN65 = GUICtrlCreateCheckbox("CHECKBOX 2", 430, 215, 120, 20)
    $checkCN66 = GUICtrlCreateCheckbox("CHECKBOX 3", 430, 255, 120, 20)
    $checkCN67 = GUICtrlCreateCheckbox("CHECKBOX 4", 430, 295, 120, 20)
    $checkCN68 = GUICtrlCreateCheckbox("CHECKBOX 5", 430, 335, 120, 20)
    $checkCN69 = GUICtrlCreateCheckbox("CHECKBOX 6", 430, 375, 120, 20)
    $checkCN70 = GUICtrlCreateCheckbox("CHECKBOX 7", 430, 415, 120, 20)

    [/autoit] [autoit][/autoit] [autoit]

    $tab1 = GUICtrlCreateTabItem("Multimedia")
    GUICtrlCreateLabel("label1", 30, 80, 50, 20)
    ;links
    $checkCN43 = GUICtrlCreateCheckbox("CHECKBOX 1", 130, 175, 120, 20)
    $checkCN44 = GUICtrlCreateCheckbox("CHECKBOX 2", 130, 215, 120, 20)
    $checkCN45 = GUICtrlCreateCheckbox("CHECKBOX 3", 130, 255, 120, 20)
    $checkCN46 = GUICtrlCreateCheckbox("CHECKBOX 4", 130, 295, 120, 20)
    $checkCN47 = GUICtrlCreateCheckbox("CHECKBOX 5", 130, 335, 120, 20)
    $checkCN48 = GUICtrlCreateCheckbox("CHECKBOX 6", 130, 375, 120, 20)
    $checkCN49 = GUICtrlCreateCheckbox("CHECKBOX 7", 130, 415, 120, 20)
    ;rechts
    $checkCN50 = GUICtrlCreateCheckbox("CHECKBOX 1", 430, 175, 120, 20)
    $checkCN51 = GUICtrlCreateCheckbox("CHECKBOX 2", 430, 215, 120, 20)
    $checkCN52 = GUICtrlCreateCheckbox("CHECKBOX 3", 430, 255, 120, 20)
    $checkCN53 = GUICtrlCreateCheckbox("CHECKBOX 4", 430, 295, 120, 20)
    $checkCN54 = GUICtrlCreateCheckbox("CHECKBOX 5", 430, 335, 120, 20)
    $checkCN55 = GUICtrlCreateCheckbox("CHECKBOX 6", 430, 375, 120, 20)
    $checkCN56 = GUICtrlCreateCheckbox("CHECKBOX 7", 430, 415, 120, 20)

    [/autoit] [autoit][/autoit] [autoit][/autoit] [autoit]

    $tab2 = GUICtrlCreateTabItem("Internet Bereich")
    GUICtrlCreateLabel("label2", 30, 80, 50, 20)
    ;links
    $checkCN29 = GUICtrlCreateCheckbox("CHECKBOX 1", 130, 175, 120, 20)
    $checkCN30 = GUICtrlCreateCheckbox("CHECKBOX 2", 130, 215, 120, 20)
    $checkCN31 = GUICtrlCreateCheckbox("CHECKBOX 3", 130, 255, 120, 20)
    $checkCN32 = GUICtrlCreateCheckbox("CHECKBOX 4", 130, 295, 120, 20)
    $checkCN33 = GUICtrlCreateCheckbox("CHECKBOX 5", 130, 335, 120, 20)
    $checkCN34 = GUICtrlCreateCheckbox("CHECKBOX 6", 130, 375, 120, 20)
    $checkCN35 = GUICtrlCreateCheckbox("CHECKBOX 7", 130, 415, 120, 20)
    ;rechts
    $checkCN36 = GUICtrlCreateCheckbox("CHECKBOX 1", 430, 175, 120, 20)
    $checkCN37 = GUICtrlCreateCheckbox("CHECKBOX 2", 430, 215, 120, 20)
    $checkCN38 = GUICtrlCreateCheckbox("CHECKBOX 3", 430, 255, 120, 20)
    $checkCN39 = GUICtrlCreateCheckbox("CHECKBOX 4", 430, 295, 120, 20)
    $checkCN40 = GUICtrlCreateCheckbox("CHECKBOX 5", 430, 335, 120, 20)
    $checkCN41 = GUICtrlCreateCheckbox("CHECKBOX 6", 430, 375, 120, 20)
    $checkCN42 = GUICtrlCreateCheckbox("CHECKBOX 7", 430, 415, 120, 20)

    [/autoit] [autoit][/autoit] [autoit]

    $tab3 = GUICtrlCreateTabItem("System")
    GUICtrlCreateLabel("label3", 30, 80, 50, 20)
    ;links
    $checkCN15 = GUICtrlCreateCheckbox("CHECKBOX 1", 130, 175, 120, 20)
    $checkCN16 = GUICtrlCreateCheckbox("CHECKBOX 2", 130, 215, 120, 20)
    $checkCN17 = GUICtrlCreateCheckbox("CHECKBOX 3", 130, 255, 120, 20)
    $checkCN18 = GUICtrlCreateCheckbox("CHECKBOX 4", 130, 295, 120, 20)
    $checkCN19 = GUICtrlCreateCheckbox("CHECKBOX 5", 130, 335, 120, 20)
    $checkCN20 = GUICtrlCreateCheckbox("CHECKBOX 6", 130, 375, 120, 20)
    $checkCN21 = GUICtrlCreateCheckbox("CHECKBOX 7", 130, 415, 120, 20)
    ;rechts
    $checkCN22 = GUICtrlCreateCheckbox("CHECKBOX 1", 430, 175, 120, 20)
    $checkCN23 = GUICtrlCreateCheckbox("CHECKBOX 2", 430, 215, 120, 20)
    $checkCN24 = GUICtrlCreateCheckbox("CHECKBOX 3", 430, 255, 120, 20)
    $checkCN25 = GUICtrlCreateCheckbox("CHECKBOX 4", 430, 295, 120, 20)
    $checkCN26 = GUICtrlCreateCheckbox("CHECKBOX 5", 430, 335, 120, 20)
    $checkCN27 = GUICtrlCreateCheckbox("CHECKBOX 6", 430, 375, 120, 20)
    $checkCN28 = GUICtrlCreateCheckbox("CHECKBOX 7", 430, 415, 120, 20)

    [/autoit] [autoit][/autoit] [autoit]

    $tab4 = GUICtrlCreateTabItem("Antivirus Software")
    GUICtrlCreateLabel("label4", 30, 80, 50, 20)
    ;links
    $checkCN1 = GUICtrlCreateCheckbox("TuneUp Utilities 2010", 130, 175, 120, 20)
    $checkCN2 = GUICtrlCreateCheckbox("CHECKBOX 2", 130, 215, 120, 20)
    $checkCN3 = GUICtrlCreateCheckbox("CHECKBOX 3", 130, 255, 120, 20)
    $checkCN4 = GUICtrlCreateCheckbox("CHECKBOX 4", 130, 295, 120, 20)
    $checkCN5 = GUICtrlCreateCheckbox("CHECKBOX 5", 130, 335, 120, 20)
    $checkCN6 = GUICtrlCreateCheckbox("CHECKBOX 6", 130, 375, 120, 20)
    $checkCN7 = GUICtrlCreateCheckbox("CHECKBOX 7", 130, 415, 120, 20)
    ;rechts
    $checkCN8 = GUICtrlCreateCheckbox("CHECKBOX 1", 430, 175, 120, 20)
    $checkCN9 = GUICtrlCreateCheckbox("CHECKBOX 2", 430, 215, 120, 20)
    $checkCN10 = GUICtrlCreateCheckbox("CHECKBOX 3", 430, 255, 120, 20)
    $checkCN11 = GUICtrlCreateCheckbox("CHECKBOX 4", 430, 295, 120, 20)
    $checkCN12 = GUICtrlCreateCheckbox("CHECKBOX 5", 430, 335, 120, 20)
    $checkCN13 = GUICtrlCreateCheckbox("CHECKBOX 6", 430, 375, 120, 20)
    $checkCN14 = GUICtrlCreateCheckbox("CHECKBOX 7", 430, 415, 120, 20)
    $tab5 = GUICtrlCreateTabItem("Information !!")
    GUICtrlCreateLabel("label4", 30, 80, 50, 20)
    GUICtrlCreateTabItem(""); end tabitem definition
    GUISetState()
    While 1
    $msg = GUIGetMsg()

    [/autoit] [autoit][/autoit] [autoit]

    If $msg = $GUI_EVENT_CLOSE Then ExitLoop
    If $msg = $tab Then
    MsgBox(0, "hallo", "hai")
    EndIf
    WEnd
    EndFunc ;==>Example

    [/autoit]

    Du hattest GUIOnEventMode drin, darum hatts nich geklappt

    EDIT: So, hier noch mit der Funktion die alle Checkboxen Markiert...

    Spoiler anzeigen
    [autoit]

    #cs ----------------------------------------------------------------------------

    [/autoit] [autoit][/autoit] [autoit]

    AutoIt Version: 3.3.1.1 (beta)
    Author: blackY.

    [/autoit] [autoit][/autoit] [autoit]

    Script Function:
    Windows 7 Welcome

    [/autoit] [autoit][/autoit] [autoit]

    #ce ----------------------------------------------------------------------------

    [/autoit] [autoit][/autoit] [autoit]

    #include <GUIConstants.au3>
    Example()
    Func Example()
    GUICreate("Windows7 extra by. blackY", 700, 500, 250, 80)
    GUISetState(@SW_SHOW)
    $combo = GUICtrlCreateCombo("Standart", 10, 10) ; create first item
    GUICtrlSetData(-1, "Benutzerdefiniert|Vollständig", "Vollständig") ; add other item snd set a new default
    $Install=GUICtrlCreateButton ("Instalieren", 12, 450, 95, 25)
    $Exit=GUICtrlCreateButton ("Beenden", 580, 450, 95, 25)

    [/autoit] [autoit][/autoit] [autoit]

    $tab = GUICtrlCreateTab(50, 115, 600, 350)
    $tab0 = GUICtrlCreateTabItem("Office Bereich")
    Global $checks[71]
    GUICtrlSetState(-1, $GUI_SHOW); will be display first
    ;links
    $checks[57] = GUICtrlCreateCheckbox("CHECKBOX 1", 130, 175, 120, 20)
    $checks[58] = GUICtrlCreateCheckbox("CHECKBOX 2", 130, 215, 120, 20)
    $checks[59] = GUICtrlCreateCheckbox("CHECKBOX 3", 130, 255, 120, 20)
    $checks[60] = GUICtrlCreateCheckbox("CHECKBOX 4", 130, 295, 120, 20)
    $checks[61] = GUICtrlCreateCheckbox("CHECKBOX 5", 130, 335, 120, 20)
    $checks[62] = GUICtrlCreateCheckbox("CHECKBOX 6", 130, 375, 120, 20)
    $checks[63] = GUICtrlCreateCheckbox("CHECKBOX 7", 130, 415, 120, 20)
    ;rechts
    $checks[64] = GUICtrlCreateCheckbox("CHECKBOX 1", 430, 175, 120, 20)
    $checks[65] = GUICtrlCreateCheckbox("CHECKBOX 2", 430, 215, 120, 20)
    $checks[66] = GUICtrlCreateCheckbox("CHECKBOX 3", 430, 255, 120, 20)
    $checks[67] = GUICtrlCreateCheckbox("CHECKBOX 4", 430, 295, 120, 20)
    $checks[68] = GUICtrlCreateCheckbox("CHECKBOX 5", 430, 335, 120, 20)
    $checks[69] = GUICtrlCreateCheckbox("CHECKBOX 6", 430, 375, 120, 20)
    $checks[70] = GUICtrlCreateCheckbox("CHECKBOX 7", 430, 415, 120, 20)

    [/autoit] [autoit][/autoit] [autoit]

    $tab1 = GUICtrlCreateTabItem("Multimedia")
    GUICtrlCreateLabel("label1", 30, 80, 50, 20)
    ;links
    $checks[43] = GUICtrlCreateCheckbox("iTunes", 130, 175, 120, 20)
    $checks[44] = GUICtrlCreateCheckbox("CHECKBOX 2", 130, 215, 120, 20)
    $checks[45] = GUICtrlCreateCheckbox("CHECKBOX 3", 130, 255, 120, 20)
    $checks[46] = GUICtrlCreateCheckbox("CHECKBOX 4", 130, 295, 120, 20)
    $checks[47] = GUICtrlCreateCheckbox("CHECKBOX 5", 130, 335, 120, 20)
    $checks[48] = GUICtrlCreateCheckbox("CHECKBOX 6", 130, 375, 120, 20)
    $checks[49] = GUICtrlCreateCheckbox("CHECKBOX 7", 130, 415, 120, 20)
    ;rechts
    $checks[50] = GUICtrlCreateCheckbox("CHECKBOX 1", 430, 175, 120, 20)
    $checks[51] = GUICtrlCreateCheckbox("CHECKBOX 2", 430, 215, 120, 20)
    $checks[52] = GUICtrlCreateCheckbox("CHECKBOX 3", 430, 255, 120, 20)
    $checks[53] = GUICtrlCreateCheckbox("CHECKBOX 4", 430, 295, 120, 20)
    $checks[54] = GUICtrlCreateCheckbox("CHECKBOX 5", 430, 335, 120, 20)
    $checks[55] = GUICtrlCreateCheckbox("CHECKBOX 6", 430, 375, 120, 20)
    $checks[56] = GUICtrlCreateCheckbox("CHECKBOX 7", 430, 415, 120, 20)

    [/autoit] [autoit][/autoit] [autoit][/autoit] [autoit]

    $tab2 = GUICtrlCreateTabItem("Internet Bereich")
    GUICtrlCreateLabel("label2", 30, 80, 50, 20)
    ;links
    $checks[29] = GUICtrlCreateCheckbox("MSN Live 9", 130, 175, 120, 20)
    $checks[30] = GUICtrlCreateCheckbox("TeamSpeak 2 rc2", 130, 215, 120, 20)
    $checks[31] = GUICtrlCreateCheckbox("ICQ 7 oder so...", 130, 255, 120, 20)
    $checks[32] = GUICtrlCreateCheckbox("CHECKBOX 4", 130, 295, 120, 20)
    $checks[33] = GUICtrlCreateCheckbox("CHECKBOX 5", 130, 335, 120, 20)
    $checks[34] = GUICtrlCreateCheckbox("CHECKBOX 6", 130, 375, 120, 20)
    $checks[35] = GUICtrlCreateCheckbox("CHECKBOX 7", 130, 415, 120, 20)
    ;rechts
    $checks[36] = GUICtrlCreateCheckbox("MSN Plus", 430, 175, 120, 20)
    $checks[37] = GUICtrlCreateCheckbox("MSN Discovery Live", 430, 215, 120, 20)
    $checks[38] = GUICtrlCreateCheckbox("CHECKBOX 3", 430, 255, 120, 20)
    $checks[39] = GUICtrlCreateCheckbox("CHECKBOX 4", 430, 295, 120, 20)
    $checks[40] = GUICtrlCreateCheckbox("CHECKBOX 5", 430, 335, 120, 20)
    $checks[41] = GUICtrlCreateCheckbox("CHECKBOX 6", 430, 375, 120, 20)
    $checks[42] = GUICtrlCreateCheckbox("CHECKBOX 7", 430, 415, 120, 20)

    [/autoit] [autoit][/autoit] [autoit]

    $tab3 = GUICtrlCreateTabItem("System")
    GUICtrlCreateLabel("label3", 30, 80, 50, 20)
    ;links
    $checks[15] = GUICtrlCreateCheckbox("CHECKBOX 1", 130, 175, 120, 20)
    $checks[16] = GUICtrlCreateCheckbox("CHECKBOX 2", 130, 215, 120, 20)
    $checks[17] = GUICtrlCreateCheckbox("CHECKBOX 3", 130, 255, 120, 20)
    $checks[18] = GUICtrlCreateCheckbox("CHECKBOX 4", 130, 295, 120, 20)
    $checks[19] = GUICtrlCreateCheckbox("CHECKBOX 5", 130, 335, 120, 20)
    $checks[20] = GUICtrlCreateCheckbox("CHECKBOX 6", 130, 375, 120, 20)
    $checks[21] = GUICtrlCreateCheckbox("CHECKBOX 7", 130, 415, 120, 20)
    ;rechts
    $checks[22] = GUICtrlCreateCheckbox("CHECKBOX 1", 430, 175, 120, 20)
    $checks[23] = GUICtrlCreateCheckbox("CHECKBOX 2", 430, 215, 120, 20)
    $checks[24] = GUICtrlCreateCheckbox("CHECKBOX 3", 430, 255, 120, 20)
    $checks[25] = GUICtrlCreateCheckbox("CHECKBOX 4", 430, 295, 120, 20)
    $checks[26] = GUICtrlCreateCheckbox("CHECKBOX 5", 430, 335, 120, 20)
    $checks[27] = GUICtrlCreateCheckbox("CHECKBOX 6", 430, 375, 120, 20)
    $checks[28] = GUICtrlCreateCheckbox("CHECKBOX 7", 430, 415, 120, 20)

    [/autoit] [autoit][/autoit] [autoit]

    $tab4 = GUICtrlCreateTabItem("Antivirus Software")
    GUICtrlCreateLabel("label4", 30, 80, 50, 20)
    ;links
    $checks[1] = GUICtrlCreateCheckbox("TuneUp Utilities 2010", 130, 175, 120, 20)
    $checks[2] = GUICtrlCreateCheckbox("AVG 9", 130, 215, 120, 20)
    $checks[3] = GUICtrlCreateCheckbox("CHECKBOX 3", 130, 255, 120, 20)
    $checks[4] = GUICtrlCreateCheckbox("CHECKBOX 4", 130, 295, 120, 20)
    $checks[5] = GUICtrlCreateCheckbox("CHECKBOX 5", 130, 335, 120, 20)
    $checks[6] = GUICtrlCreateCheckbox("CHECKBOX 6", 130, 375, 120, 20)
    $checks[7] = GUICtrlCreateCheckbox("CHECKBOX 7", 130, 415, 120, 20)
    ;rechts
    $checks[8] = GUICtrlCreateCheckbox("Acronis True Image Home", 430, 175, 120, 20)
    $checks[9] = GUICtrlCreateCheckbox("CHECKBOX 2", 430, 215, 120, 20)
    $checks[10] = GUICtrlCreateCheckbox("CHECKBOX 3", 430, 255, 120, 20)
    $checks[11] = GUICtrlCreateCheckbox("CHECKBOX 4", 430, 295, 120, 20)
    $checks[12] = GUICtrlCreateCheckbox("CHECKBOX 5", 430, 335, 120, 20)
    $checks[13] = GUICtrlCreateCheckbox("CHECKBOX 6", 430, 375, 120, 20)
    $checks[14] = GUICtrlCreateCheckbox("CHECKBOX 7", 430, 415, 120, 20)

    [/autoit] [autoit][/autoit] [autoit]

    $tab5 = GUICtrlCreateTabItem("Information !!")
    GUICtrlCreateLabel("label4", 30, 80, 50, 20)

    [/autoit] [autoit][/autoit] [autoit]

    GUICtrlCreateTabItem("")
    GUISetState()
    While 1
    Switch GUIGetMsg()
    Case -3
    Exit
    Case $combo
    If GUICtrlRead($combo) = "Vollständig" Then
    For $i = 1 To 70
    GUICtrlSetState($checks[$i], $GUI_CHECKED)
    Next
    ElseIf GUICtrlRead($combo) = "Standart" Then
    GUICtrlSetState($checks[1], $GUI_CHECKED)
    GUICtrlSetState($checks[2], $GUI_UNCHECKED)
    GUICtrlSetState($checks[3], $GUI_CHECKED)
    GUICtrlSetState($checks[4], $GUI_UNCHECKED)
    GUICtrlSetState($checks[5], $GUI_CHECKED)
    GUICtrlSetState($checks[6], $GUI_UNCHECKED)
    GUICtrlSetState($checks[7], $GUI_CHECKED)
    GUICtrlSetState($checks[8], $GUI_CHECKED)
    GUICtrlSetState($checks[9], $GUI_CHECKED)
    GUICtrlSetState($checks[10], $GUI_UNCHECKED)
    GUICtrlSetState($checks[11], $GUI_CHECKED)
    GUICtrlSetState($checks[12], $GUI_CHECKED)
    GUICtrlSetState($checks[13], $GUI_CHECKED)
    GUICtrlSetState($checks[14], $GUI_CHECKED)
    GUICtrlSetState($checks[15], $GUI_UNCHECKED)
    GUICtrlSetState($checks[16], $GUI_CHECKED)
    GUICtrlSetState($checks[17], $GUI_CHECKED)
    GUICtrlSetState($checks[18], $GUI_UNCHECKED)
    GUICtrlSetState($checks[19], $GUI_UNCHECKED)
    GUICtrlSetState($checks[20], $GUI_UNCHECKED)
    GUICtrlSetState($checks[21], $GUI_CHECKED)
    GUICtrlSetState($checks[22], $GUI_CHECKED)
    GUICtrlSetState($checks[23], $GUI_CHECKED)
    GUICtrlSetState($checks[24], $GUI_UNCHECKED)
    GUICtrlSetState($checks[25], $GUI_CHECKED)
    GUICtrlSetState($checks[26], $GUI_CHECKED)
    GUICtrlSetState($checks[27], $GUI_UNCHECKED)
    GUICtrlSetState($checks[28], $GUI_CHECKED)
    GUICtrlSetState($checks[29], $GUI_CHECKED)
    GUICtrlSetState($checks[30], $GUI_UNCHECKED)
    GUICtrlSetState($checks[31], $GUI_CHECKED)
    GUICtrlSetState($checks[32], $GUI_CHECKED)
    GUICtrlSetState($checks[33], $GUI_CHECKED)
    GUICtrlSetState($checks[34], $GUI_CHECKED)
    GUICtrlSetState($checks[35], $GUI_UNCHECKED)
    GUICtrlSetState($checks[36], $GUI_CHECKED)
    GUICtrlSetState($checks[37], $GUI_CHECKED)
    GUICtrlSetState($checks[38], $GUI_UNCHECKED)
    GUICtrlSetState($checks[39], $GUI_UNCHECKED)
    GUICtrlSetState($checks[40], $GUI_UNCHECKED)
    GUICtrlSetState($checks[41], $GUI_UNCHECKED)
    GUICtrlSetState($checks[42], $GUI_CHECKED)
    GUICtrlSetState($checks[43], $GUI_CHECKED)
    GUICtrlSetState($checks[44], $GUI_CHECKED)
    GUICtrlSetState($checks[45], $GUI_UNCHECKED)
    GUICtrlSetState($checks[46], $GUI_CHECKED)
    GUICtrlSetState($checks[47], $GUI_CHECKED)
    GUICtrlSetState($checks[48], $GUI_CHECKED)
    GUICtrlSetState($checks[49], $GUI_CHECKED)
    GUICtrlSetState($checks[50], $GUI_UNCHECKED)
    GUICtrlSetState($checks[51], $GUI_CHECKED)
    GUICtrlSetState($checks[52], $GUI_CHECKED)
    GUICtrlSetState($checks[53], $GUI_UNCHECKED)
    GUICtrlSetState($checks[54], $GUI_CHECKED)
    GUICtrlSetState($checks[55], $GUI_CHECKED)
    GUICtrlSetState($checks[56], $GUI_CHECKED)
    GUICtrlSetState($checks[57], $GUI_UNCHECKED)
    GUICtrlSetState($checks[58], $GUI_CHECKED)
    GUICtrlSetState($checks[59], $GUI_UNCHECKED)
    GUICtrlSetState($checks[60], $GUI_UNCHECKED)
    GUICtrlSetState($checks[61], $GUI_CHECKED)
    GUICtrlSetState($checks[62], $GUI_UNCHECKED)
    GUICtrlSetState($checks[63], $GUI_CHECKED)
    GUICtrlSetState($checks[64], $GUI_UNCHECKED)
    GUICtrlSetState($checks[65], $GUI_CHECKED)
    GUICtrlSetState($checks[66], $GUI_CHECKED)
    GUICtrlSetState($checks[67], $GUI_UNCHECKED)
    GUICtrlSetState($checks[68], $GUI_UNCHECKED)
    GUICtrlSetState($checks[69], $GUI_CHECKED)
    GUICtrlSetState($checks[70], $GUI_CHECKED)
    EndIf
    EndSwitch
    WEnd

    [/autoit] [autoit][/autoit] [autoit]

    EndFunc ;==>Example

    [/autoit]

    Dies ist ein Arzeneimittel.
    Bei Risiken und Haluzinationen fressen sie die Packungsbeilage und schlagen Sie ihren Arzt oder Apotheker.
    Jede Haftung wird abgelent.

    Vielen Dank für Ihre Kundentreue.
    mfg. TimBlo

    Aperture Science

    http://www.youtube.com/watch?v=Y6ljFaKRTrI

    Einmal editiert, zuletzt von TimBlo (8. November 2009 um 14:45)

  • Eine frage, bin ziemlich ein sehr sehr sehr AutoIT Anfänger,
    ich hätte von euch gerne folgendes gewusst:
    Wenn man jetzt verschiedene Checkboxen markiert,
    und unten auf Installieren klicken,
    hätte ich es gerne so dass er es dann auch installiert,
    in diesen Falle tut er es ja ned .. also bitte ich um hilfe!

    PS: Bitte schnelle Antworten :)

    Danke im Vorraus

    • Du brauchst deine Frage nciht Fett zu schreiben
    • Kannst du bei einer neuen Frage ein neues Theard aufmachen.
    • hast du oben doch ein beispiel, musst du halt nur entsprechend ändern
    • Antwortest du hier bitte nichtmehr
    • Solltest du noch ein weiteres Problem haben, mach ein neues Theard auf
    • Mach jetzt kein Theard auf: wie installiert der das, dennd as musst du schon selber machen. Guck dir in der Hilfe die notepadautomatisierung an, und so ähnlich machst du es dann auch...
    • learning by doing