Bei MsgBoxen

  • Hi Ich hoffe mir kann hier jemand helfen
    Wie kann ich bei zb.MsgBox(1,"Test","Test")
    bei ja und nein was anderes kommen lassen :?:

  • ok + abbrechen:

    [autoit]

    $msgbox = MsgBox(1, "Test", "Test")
    If $msgbox = 1 Then
    MsgBox(0, "", "ok")
    ElseIf $msgbox = 2 Then
    MsgBox(0, "", "abbrechen")
    EndIf

    [/autoit]

    ja + nein:

    [autoit]

    $msgbox = MsgBox(4, "Test", "Test")
    If $msgbox = 6 Then
    MsgBox(0, "", "ja")
    ElseIf $msgbox = 7 Then
    MsgBox(0, "", "nein")
    EndIf

    [/autoit]