1. Dashboard
  2. Mitglieder
    1. Letzte Aktivitäten
    2. Benutzer online
    3. Team
    4. Mitgliedersuche
  3. Forenregeln
  4. Forum
    1. Unerledigte Themen
  • Anmelden
  • Registrieren
  • Suche
Alles
  • Alles
  • Artikel
  • Seiten
  • Forum
  • Erweiterte Suche
  1. AutoIt.de - Das deutschsprachige Forum.
  2. Mitglieder
  3. rococo

Beiträge von rococo

  • If Then Else: mehrzeilige Anweisung

    • rococo
    • 30. August 2011 um 10:33

    Hallo UEZ, der Text am Ende stammt eigentlich nicht von mir.
    Hallo L3viathan: Hätte ich mich korrekt ausgedrückt hättest Du mir bestimmt sofort helfen können.

    While 1

    $instr = _CommGetString()

    If $instr <> '' Then

    If GUICtrlRead($Checkbox1) = $GUI_CHECKED Then $instr = StringReplace($instr,@CR,@CRLF)
    If $instr = $inval1 Then GUICtrlSetBkColor($inv1, 0x00a800) : Run($pro1)
    If $instr = $inval2 Then Run($pro2)
    If $instr = $inval3 Then Run($pro3)

    GUICtrlSetData($Edit1, $instr,1)

    EndIf

    WEnd

    qtl {
    position: absolute;
    border: 1px solid #cccccc;
    -moz-border-radius: 5px;
    opacity: 0.2;
    line-height: 100%;
    z-index: 999;
    direction: ltr;
    }

    qtl:hover,qtl.open {
    opacity: 1;
    }

    qtl,qtlbar {
    height: 22px;
    }

    qtlbar {
    display: block;
    width: 100%;
    background-color: #cccccc;
    cursor: move;
    }

    qtlbar img {
    border: 0;
    padding: 3px;
    height: 16px;
    width: 16px;
    cursor: pointer;
    }

    qtlbar img:hover {
    background-color: #aaaaff;
    }

    qtl>iframe {
    border: 0;
    height: 0;
    width: 0;
    }

    qtl.open {
    height: auto;
    }

    qtl.open>iframe {
    height: 200px;
    width: 300px;
    }

    [Blockierte Grafik: http://www.qtl.co.il/img/copy.png][Blockierte Grafik: http://www.ask.com/favicon.ico][Blockierte Grafik: http://translate.google.com/favicon.ico]
    </iframe>

  • If Then Else: mehrzeilige Anweisung

    • rococo
    • 30. August 2011 um 09:01

    Moin, Moin!
    Mach jetzt schon ein paar mal mit AutoIt rum - tolles Ding!
    Und obwohl ich meine rudimentären Programmierkenntnisse auf nem SinclairQL erworben habe klappt das schon ganz gut.
    Nur manchmal (JETZT!) fühl ich mich wie´n Depp, es geht ganz schlicht darum wie ich nach IF ... THEN mehrere Kommandos ausführen kann.

    If $instr = $inval1 Then GUICtrlSetBkColor($inv1, 0x00a800) : Run($pro1) So gehts nicht ...

    If $instr = $inval1 Then GUICtrlSetBkColor($inv1, 0x00a800)
    Run($pro1) ... so auch nicht

    Also wie ?

    Danke im Voraus

    qtl {
    position: absolute;
    border: 1px solid #cccccc;
    -moz-border-radius: 5px;
    opacity: 0.2;
    line-height: 100%;
    z-index: 999;
    direction: ltr;
    }

    qtl:hover,qtl.open {
    opacity: 1;
    }

    qtl,qtlbar {
    height: 22px;
    }

    qtlbar {
    display: block;
    width: 100%;
    background-color: #cccccc;
    cursor: move;
    }

    qtlbar img {
    border: 0;
    padding: 3px;
    height: 16px;
    width: 16px;
    cursor: pointer;
    }

    qtlbar img:hover {
    background-color: #aaaaff;
    }

    qtl>iframe {
    border: 0;
    height: 0;
    width: 0;
    }

    qtl.open {
    height: auto;
    }

    qtl.open>iframe {
    height: 200px;
    width: 300px;
    }

    [Blockierte Grafik: http://www.qtl.co.il/img/copy.png][Blockierte Grafik: http://www.ask.com/favicon.ico][Blockierte Grafik: http://translate.google.com/favicon.ico]
    </iframe>

Spenden

Jeder Euro hilft uns, Euch zu helfen.

Download

AutoIt Tutorial
AutoIt Buch
Onlinehilfe
AutoIt Entwickler
  1. Datenschutzerklärung
  2. Impressum
  3. Shoutbox-Archiv
Community-Software: WoltLab Suite™