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. FireFlyer

Beiträge von FireFlyer

  • VB -> AutoIT

    • FireFlyer
    • 14. August 2008 um 14:45

    ich kenn mich zwar jetzt nicht sooo toll mit VB aus aber ich schätze mal das Mod von Modulo Operator kommt, und den gibt es auch in anderen Sprachen z.B. PHP

    Kurze Erklärung: Du hast eine Rechnung 27:4 die geht aber nicht auf bzw. es würde kein Integer (Ganzzahl) als Lösung herauskommen Mod bzw. der Modulo Operator zieht jetzt quasi von der 27 solange den Wert 1 ab bis eine Ganzzahl rauskommt, also bei 24. Die Differenz zwischen 27 und 24 ist drei und genau das gibt die Funktion zurück

    Oder in AutoIt-Code ausgedrückt:

    Spoiler anzeigen
    [autoit]

    $ergebnis = meinmod(27, 4)
    MsgBox(0, "Ergebnis", $ergebnis)
    Func meinmod($zaehler, $nenner)
    $mod = 0
    While Not isint($zaehler/$nenner)
    $zaehler -= 1
    $mod += 1
    WEnd
    Return $mod
    EndFunc

    [/autoit]

    Ich hoffe es stimmt so alles wie ichs gesagt habe und ich hoffe das mein code hier auch geht :D hab in letzter Zeit nur html php ajax und jscript gemacht... ersmal wieder umgewöhnen :D Ansonsten berichtige mich bitte jemand ;)

  • Variablen als Zähler

    • FireFlyer
    • 14. August 2008 um 14:34

    weil das ein integer also eine ganzzahl ist und kein String. AutoIt erkennt nur den Wert und der ist bei 001 halt 1 :D

    btw. ich glaub bei Count DOWN zählt man abwärts oder? :D

  • Textdatei Zeilenweise einlesen und einen String daraus für eine Combobox erstellen

    • FireFlyer
    • 14. August 2008 um 13:31

    levi du sollst net immer ne minute früher posten ;( :D :thumbup:

  • Textdatei Zeilenweise einlesen und einen String daraus für eine Combobox erstellen

    • FireFlyer
    • 14. August 2008 um 13:30

    ganz easy levi hat schon den ansatz gemacht:


    Spoiler anzeigen
    [autoit]

    $file = ("\\server\PortaleBackofficeTool\portale.txt")
    Dim $aRecords
    If Not _FileReadToArray($file,$aRecords) Then
    MsgBox(4096,"Error", " Error reading log to Array error:" & @error)
    Exit
    EndIf
    For $x = 1 to $aRecords[0]
    ;Msgbox(0,'Record:' & $x, $aRecords[$x])
    $forcombo &= $aRecords[$x]&"|"
    Next
    MsgBox(0, "Für die Combo", $forcombo")

    [/autoit]
  • Textdatei Zeilenweise einlesen und einen String daraus für eine Combobox erstellen

    • FireFlyer
    • 14. August 2008 um 13:20

    also irgendwie versteh ich dein problem jetzt nicht :D

    Du hast doch den code? was geht denn da nicht? Hast du fehler oder wie? In der MsgBox sollte dann doch Zeile für Zeile angezeigt werden ;)

  • Text sichtbar aber nicht zu makieren

    • FireFlyer
    • 14. Juli 2008 um 02:08

    also :)

    wiso machst du den text net in ein label? das lässt sich net markieren ;)

    MFG Fire

  • Hilfe zum Farbenerkennen

    • FireFlyer
    • 11. Juli 2008 um 19:38
    [autoit]

    Local $color, $deinefarbe = ""
    While 1
    $color = PixelGetColor(876,49)
    If $color = $deinefarbe Then ExitLoop
    WEnd
    MsgBox(0, "Gefunden", "Farbe "&$deinefarbe&" wurde gefunden")

    [/autoit]
  • ein Problem mit der Logik :D

    • FireFlyer
    • 8. Juli 2008 um 23:17

    Moin moin,

    hier geht es zwar um ein logisches Problem wird jedoch später in PHP geschrieben also nicht wundern,

    es geht um eine Tabellenplatzierung:
    man hat 1. Die Punkte eines Teams und 2. die Win/Loose differenz
    Das ganze wird so geordnet:
    1. Je größer die Punktzahl desto höher der Platz,
    2. wenn beide Teams die gleich Punktzahl haben wird nach der Win/Loose differenz geschaut (auch je höher desto besser die platzierung)
    Ich hab jetzt die tolle aufgabe bekommen das script von irgendjemandem umzuschreiben *juhu*

    Spoiler anzeigen
    PHP
    <?
    
    
    //////////////////////////////////////////////////////// Gruppe A ///////////////////////////////////////////////
    
    
    			 
    $gruppe_a = array( $team_1_points , $team_2_points , $team_3_points, $team_4_points, $team_5_points );
    sort($gruppe_a);
    
    
    $dif_sort_a = array ( $team_1_differenz , $team_2_differenz , $team_3_differenz , $team_4_differenz , $team_5_differenz );
    sort($dif_sort_a);
    
    
    $sort_a_platz_1 = 1;
    $sort_a_platz_2 = 1;
    $sort_a_platz_3 = 1;
    $sort_a_platz_4 = 1;
    $sort_a_platz_5 = 1;
    
    
    		if ( $gruppe_a[4] == $team_1_points /*&& $dif_sort_a[4] == $team_1_differenz && $sort_a_platz_1 == 1*/ ) {
    	$gruppe_a_platz_1 = $team_1_tabelle;
    	$pokal_match_1 = $pokal_team[1];
    	$pokal_match_1_alt = $pokal_team_alt[1];
    	$sort_a_platz_1 = 2;
    	}
    	elseif ( $gruppe_a[4] == $team_2_points && $dif_sort_a[4] == $team_2_differenz && $sort_a_platz_2 == 1 ) {
    	$gruppe_a_platz_1 = $team_2_tabelle;
    	$pokal_match_1 = $pokal_team[2];
    	$pokal_match_1_alt = $pokal_team_alt[2];
    	$sort_a_platz_2 = 2;
    	}
    	elseif ( $gruppe_a[4] == $team_3_points && $dif_sort_a[4] == $team_3_differenz && $sort_a_platz_3 == 1 ) {
    	$gruppe_a_platz_1 = $team_3_tabelle;
    	$pokal_match_1 = $pokal_team[3];
    	$pokal_match_1_alt = $pokal_team_alt[3];
    	$sort_a_platz_3 = 2;
    	}
    	elseif ( $gruppe_a[4] == $team_4_points && $dif_sort_a[4] == $team_4_differenz && $sort_a_platz_4 == 1 ) {
    	$gruppe_a_platz_1 = $team_4_tabelle;
    	$pokal_match_1 = $pokal_team[4];
    	$pokal_match_1_alt = $pokal_team_alt[4];
    	$sort_a_platz_4 = 2;
    	}
    	elseif ( $gruppe_a[4] == $team_5_points && $dif_sort_a[4] == $team_5_differenz && $sort_a_platz_5 == 1 ) {
    	$gruppe_a_platz_1 = $team_5_tabelle;
    	$pokal_match_1 = $pokal_team[5];
    	$pokal_match_1_alt = $pokal_team_alt[5];
    	$sort_a_platz_5 = 2;
    	}
    	else {
    	 $fehler = '<tr><td colspan="5"><p style="color:red">Es trat ein Fehler auf, konnte Platz 1 nicht zuordnen!</p></td></tr>';
    	};
    
    
    if ( $gruppe_a[3] == $team_1_points && $sort_a_platz_1 == 1 ) {
    	$gruppe_a_platz_2 = $team_1_tabelle;
    	$pokal_match_6 = $pokal_team[1];
    	$pokal_match_6_alt = $pokal_team_alt[1];
    	$sort_a_platz_1 = 2;
    	}
    	elseif ( $gruppe_a['3'] == $team_2_points && $sort_a_platz_2 == 1 ) {
    	$gruppe_a_platz_2 = $team_2_tabelle;
    	$pokal_match_6 = $pokal_team[2];
    	$pokal_match_6_alt = $pokal_team_alt[2];
    	$sort_a_platz_2 = 2;
    	}
    	elseif ( $gruppe_a['3'] == $team_3_points && $sort_a_platz_3 == 1 ) {
    	$gruppe_a_platz_2 = $team_3_tabelle;
    	$pokal_match_6 = $pokal_team[3];
    	$pokal_match_6_alt = $pokal_team_alt[3];
    	$sort_a_platz_3 = 2;
    	}
    	elseif ( $gruppe_a['3'] == $team_4_points && $sort_a_platz_4 == 1 ) {
    	$gruppe_a_platz_2 = $team_4_tabelle;
    	$pokal_match_6 = $pokal_team[4];
    	$pokal_match_6_alt = $pokal_team_alt[4];
    	$sort_a_platz_4 = 2;
    	}
    	elseif ( $gruppe_a['3'] == $team_5_points && $sort_a_platz_5 == 1 ) {
    	$gruppe_a_platz_2 = $team_5_tabelle;
    	$pokal_match_6 = $pokal_team[5];
    	$pokal_match_6_alt = $pokal_team_alt[5];
    	$sort_a_platz_5 = 2;
    	}
    	else {
    	 $fehler = '<tr><td colspan="5"><p style="color:red">Es trat ein Fehler auf, konnte Platz 2 nicht zuordnen!</p></td></tr>';
    	};
    
    
    if ( $gruppe_a[2] == $team_1_points && $sort_a_platz_1 == 1 ) {
    	$gruppe_a_platz_3 = $team_1_tabelle;
    	$pokal_match_3 = $pokal_team[1];
    	$pokal_match_3_alt = $pokal_team_alt[1];
    	$sort_a_platz_1 = 2;
    	}
    	elseif ( $gruppe_a['2'] == $team_2_points && $sort_a_platz_2 == 1 ) {
    	$gruppe_a_platz_3 = $team_2_tabelle;
    	$pokal_match_3 = $pokal_team[2];
    	$pokal_match_3_alt = $pokal_team_alt[2];
    	$sort_a_platz_2 = 2;
    	}
    	elseif ( $gruppe_a['2'] == $team_3_points && $sort_a_platz_3 == 1 ) {
    	$gruppe_a_platz_3 = $team_3_tabelle;
    	$pokal_match_3 = $pokal_team[3];
    	$pokal_match_3_alt = $pokal_team_alt[3];
    	$sort_a_platz_3 = 2;
    	}
    	elseif ( $gruppe_a['2'] == $team_4_points && $sort_a_platz_4 == 1 ) {
    	$gruppe_a_platz_3 = $team_4_tabelle;
    	$pokal_match_3 = $pokal_team[4];
    	$pokal_match_3_alt = $pokal_team_alt[4];
    	$sort_a_platz_4 = 2;
    	}
    	elseif ( $gruppe_a['2'] == $team_5_points && $sort_a_platz_5 == 1 ) {
    	$gruppe_a_platz_3 = $team_5_tabelle;
    	$pokal_match_3 = $pokal_team[5];
    	$pokal_match_3_alt = $pokal_team_alt[5];
    	$sort_a_platz_5 = 2;
    	}
    	else {
    	 $fehler = '<tr><td colspan="5"><p style="color:red">Es trat ein Fehler auf, konnte Platz 3 nicht zuordnen!</p></td></tr>';
    	};
    
    
    
    
    if ( $gruppe_a[1] == $team_1_points && $sort_a_platz_1 == 1 ) {
    	$gruppe_a_platz_4 = $team_1_tabelle;
    	$pokal_match_8 = $pokal_team[1];
    	$pokal_match_8_alt = $pokal_team_alt[1];
    	$sort_a_platz_1 = 2;
    	}
    	elseif ( $gruppe_a['1'] == $team_2_points && $sort_a_platz_2 == 1 ) {
    	$gruppe_a_platz_4 = $team_2_tabelle;
    	$pokal_match_8 = $pokal_team[2];
    	$pokal_match_8_alt = $pokal_team_alt[2];
    	$sort_a_platz_2 = 2;
    	}
    	elseif ( $gruppe_a['1'] == $team_3_points && $sort_a_platz_3 == 1 ) {
    	$gruppe_a_platz_4 = $team_3_tabelle;
    	$pokal_match_8 = $pokal_team[3];
    	$pokal_match_8_alt = $pokal_team_alt[3];
    	$sort_a_platz_3 = 2;
    	}
    	elseif ( $gruppe_a['1'] == $team_4_points && $sort_a_platz_4 == 1 ) {
    	$gruppe_a_platz_4 = $team_4_tabelle;
    	$pokal_match_8 = $pokal_team[4];
    	$pokal_match_8_alt = $pokal_team_alt[4];
    	$sort_a_platz_4 = 2;
    	}
    	elseif ( $gruppe_a['1'] == $team_5_points && $sort_a_platz_5 == 1 ) {
    	$gruppe_a_platz_4 = $team_5_tabelle;
    	$pokal_match_8 = $pokal_team[5];
    	$pokal_match_8_alt = $pokal_team_alt[5];
    	$sort_a_platz_5 = 2;
    	}
    	else {
    	 $fehler = '<tr><td colspan="5"><p style="color:red">Es trat ein Fehler auf, konnte Platz 4 nicht zuordnen!</p></td></tr>';
    	};
    
    
    
    
    if ( $gruppe_a[0] == $team_1_points && $sort_a_platz_1 == 1 ) {
    	$gruppe_a_platz_5 = $team_1_tabelle;
    	$sort_a_platz_1 = 2;
    	}
    	elseif ( $gruppe_a['0'] == $team_2_points && $sort_a_platz_2 == 1 ) {
    	$gruppe_a_platz_5 = $team_2_tabelle;
    	$sort_a_platz_2 = 2;
    	}
    	elseif ( $gruppe_a['0'] == $team_3_points && $sort_a_platz_3 == 1 ) {
    	$gruppe_a_platz_5 = $team_3_tabelle;
    	$sort_a_platz_3 = 2;
    	}
    	elseif ( $gruppe_a['0'] == $team_4_points && $sort_a_platz_4 == 1 ) {
    	$gruppe_a_platz_5 = $team_4_tabelle;
    	$sort_a_platz_4 = 2;
    	}
    	elseif ( $gruppe_a['0'] == $team_5_points && $sort_a_platz_5 == 1 ) {
    	$gruppe_a_platz_5 = $team_5_tabelle;
    	$sort_a_platz_5 = 2;
    	}
    	else {
    	 $fehler = '<tr><td colspan="5"><p style="color:red">Es trat ein Fehler auf, konnte Platz 5 nicht zuordnen!</p></td></tr>';
    	};
    
    
    
    
    
    
    
    
    
    
    
    //////////////////////////////////////////////////////// Gruppe B ///////////////////////////////////////////////
    
    
    			 
    $gruppe_b = array( $team_6_points , $team_7_points , $team_8_points, $team_9_points, $team_10_points );
    sort($gruppe_b);
    
    
    $dif_sort_b = array ( $team_6_differenz , $team_7_differenz , $team_8_differenz , $team_9_differenz , $team_10_differenz );
    sort($dif_sort_b);
    
    
    $sort_b_platz_1 = 1;
    $sort_b_platz_2 = 1;
    $sort_b_platz_3 = 1;
    $sort_b_platz_4 = 1;
    $sort_b_platz_5 = 1;
    
    
    if ( $gruppe_b[4] == $team_6_points && $sort_b_platz_1 == 1 /*&& $dif_sort_b[4] == $team_6_differenz*/ ) {
    	$gruppe_b_platz_1 = $team_6_tabelle;
    	$pokal_match_5 = $pokal_team[6];
    	$pokal_match_5_alt = $pokal_team_alt[6];
    	$sort_b_platz_1 = 2;
    	}
    	elseif ( $gruppe_b[4] == $team_7_points && $sort_b_platz_2 == 1 && $dif_sort_b[4] == $team_7_differenz ) {
    	$gruppe_b_platz_1 = $team_7_tabelle;
    	$pokal_match_5 = $pokal_team[7];
    	$pokal_match_5_alt = $pokal_team_alt[7];
    	$sort_b_platz_2 = 2;
    	}
    	elseif ( $gruppe_b[4] == $team_8_points && $sort_b_platz_3 == 1 && $dif_sort_b[4] == $team_8_differenz ) {
    	$gruppe_b_platz_1 = $team_8_tabelle;
    	$pokal_match_5 = $pokal_team[8];
    	$pokal_match_5_alt = $pokal_team_alt[8];
    	$sort_b_platz_3 = 2;
    	}
    	elseif ( $gruppe_b[4] == $team_9_points && $sort_b_platz_4 == 1 /*&& $dif_sort_b[4] == $team_9_differenz*/ ) {
    	$gruppe_b_platz_1 = $team_9_tabelle;
    	$pokal_match_5 = $pokal_team[9];
    	$pokal_match_5_alt = $pokal_team_alt[9];
    	$sort_b_platz_4 = 2;
    	}
    	elseif ( $gruppe_b[4] == $team_10_points && $sort_b_platz_5 == 1 && $dif_sort_b[4] == $team_10_differenz ) {
    	$gruppe_b_platz_1 = $team_10_tabelle;
    	$pokal_match_5 = $pokal_team[10];
    	$pokal_match_5_alt = $pokal_team_alt[10];
    	$sort_b_platz_5 = 2;
    	}
    	else {
    	 $fehler = '<tr><td colspan="5"><p style="color:red">Es trat ein Fehler auf, konnte Platz 1 nicht zuordnen!</p></td></tr>';
    	};
    
    
    if ( $gruppe_b[3] == $team_6_points && $sort_b_platz_1 == 1 ) {
    	$gruppe_b_platz_2 = $team_6_tabelle;
    	$pokal_match_2 = $pokal_team[6];
    	$pokal_match_2_alt = $pokal_team_alt[6];
    	$sort_b_platz_1 = 2;
    	}
    	elseif ( $gruppe_b['3'] == $team_7_points && $sort_b_platz_2 == 1 ) {
    	$gruppe_b_platz_2 = $team_7_tabelle;
    	$pokal_match_2 = $pokal_team[7];
    	$pokal_match_2_alt = $pokal_team_alt[7];
    	$sort_b_platz_2 = 2;
    	}
    	elseif ( $gruppe_b['3'] == $team_8_points && $sort_b_platz_3 == 1 ) {
    	$gruppe_b_platz_2 = $team_8_tabelle;
    	$pokal_match_2 = $pokal_team[8];
    	$pokal_match_2_alt = $pokal_team_alt[8];
    	$sort_b_platz_3 = 2;
    	}
    	elseif ( $gruppe_b['3'] == $team_9_points && $sort_b_platz_4 == 1 ) {
    	$gruppe_b_platz_2 = $team_9_tabelle;
    	$pokal_match_2 = $pokal_team[9];
    	$pokal_match_2_alt = $pokal_team_alt[9];
    	$sort_b_platz_4 = 2;
    	}
    	elseif ( $gruppe_b['3'] == $team_10_points && $sort_b_platz_5 == 1 ) {
    	$gruppe_b_platz_2 = $team_10_tabelle;
    	$pokal_match_2 = $pokal_team[10];
    	$pokal_match_2_alt = $pokal_team_alt[10];
    	$sort_b_platz_5 = 2;
    	}
    	else {
    	 $fehler = '<tr><td colspan="5"><p style="color:red">Es trat ein Fehler auf, konnte Platz 2 nicht zuordnen!</p></td></tr>';
    	};
    
    
    if ( $gruppe_b[2] == $team_6_points && $sort_b_platz_1 == 1 ) {
    	$gruppe_b_platz_3 = $team_6_tabelle;
    	$pokal_match_7 = $pokal_team[6];
    	$pokal_match_7_alt = $pokal_team_alt[6];
    	$sort_b_platz_1 = 2;
    	}
    	elseif ( $gruppe_b['2'] == $team_7_points && $sort_b_platz_2 == 1 ) {
    	$gruppe_b_platz_3 = $team_7_tabelle;
    	$pokal_match_7 = $pokal_team[7];
    	$pokal_match_7_alt = $pokal_team_alt[7];
    	$sort_b_platz_2 = 2;
    	}
    	elseif ( $gruppe_b['2'] == $team_8_points && $sort_b_platz_3 == 1 ) {
    	$gruppe_b_platz_3 = $team_8_tabelle;
    	$pokal_match_7 = $pokal_team[8];
    	$pokal_match_7_alt = $pokal_team_alt[8];
    	$sort_b_platz_3 = 2;
    	}
    	elseif ( $gruppe_b['2'] == $team_9_points && $sort_b_platz_4 == 1 ) {
    	$gruppe_b_platz_3 = $team_9_tabelle;
    	$pokal_match_7 = $pokal_team[9];
    	$pokal_match_7_alt = $pokal_team_alt[9];
    	$sort_b_platz_4 = 2;
    	}
    	elseif ( $gruppe_b['2'] == $team_10_points && $sort_b_platz_5 == 1 ) {
    	$gruppe_b_platz_3 = $team_10_tabelle;
    	$pokal_match_7 = $pokal_team[10];
    	$pokal_match_7_alt = $pokal_team_alt[10];
    	$sort_b_platz_5 = 2;
    	}
    	else {
    	 $fehler = '<tr><td colspan="5"><p style="color:red">Es trat ein Fehler auf, konnte Platz 3 nicht zuordnen!</p></td></tr>';
    	};
    
    
    
    
    if ( $gruppe_b[1] == $team_6_points && $sort_b_platz_1 == 1 ) {
    	$gruppe_b_platz_4 = $team_6_tabelle;
    	$pokal_match_4 = $pokal_team[6];
    	$pokal_match_4_alt = $pokal_team_alt[6];
    	$sort_b_platz_1 = 2;
    	}
    	elseif ( $gruppe_b['1'] == $team_7_points && $sort_b_platz_2 == 1 ) {
    	$gruppe_b_platz_4 = $team_7_tabelle;
    	$pokal_match_4 = $pokal_team[7];
    	$pokal_match_4_alt = $pokal_team_alt[7];
    	$sort_b_platz_2 = 2;
    	}
    	elseif ( $gruppe_b['1'] == $team_8_points && $sort_b_platz_3 == 1 ) {
    	$gruppe_b_platz_4 = $team_8_tabelle;
    	$pokal_match_4 = $pokal_team[8];
    	$pokal_match_4_alt = $pokal_team_alt[8];
    	$sort_b_platz_3 = 2;
    	}
    	elseif ( $gruppe_b['1'] == $team_9_points && $sort_b_platz_4 == 1 ) {
    	$gruppe_b_platz_4 = $team_9_tabelle;
    	$pokal_match_4 = $pokal_team[9];
    	$pokal_match_4_alt = $pokal_team_alt[9];
    	$sort_b_platz_4 = 2;
    	}
    	elseif ( $gruppe_b['1'] == $team_10_points && $sort_b_platz_5 == 1 ) {
    	$gruppe_b_platz_4 = $team_10_tabelle;
    	$pokal_match_4 = $pokal_team[10];
    	$pokal_match_4_alt = $pokal_team_alt[10];
    	$sort_b_platz_5 = 2;
    	}
    	else {
    	 $fehler = '<tr><td colspan="5"><p style="color:red">Es trat ein Fehler auf, konnte Platz 4 nicht zuordnen!</p></td></tr>';
    	};
    
    
    
    
    if ( $gruppe_b[0] == $team_6_points && $sort_b_platz_1 == 1 ) {
    	$gruppe_b_platz_5 = $team_6_tabelle;
    	$sort_b_platz_1 = 2;
    	}
    	elseif ( $gruppe_b['0'] == $team_7_points && $sort_b_platz_2 == 1 ) {
    	$gruppe_b_platz_5 = $team_7_tabelle;
    	$sort_b_platz_2 = 2;
    	}
    	elseif ( $gruppe_b['0'] == $team_8_points && $sort_b_platz_3 == 1 ) {
    	$gruppe_b_platz_5 = $team_8_tabelle;
    	$sort_b_platz_3 = 2;
    	}
    	elseif ( $gruppe_b['0'] == $team_9_points && $sort_b_platz_4 == 1 ) {
    	$gruppe_b_platz_5 = $team_9_tabelle;
    	$sort_b_platz_4 = 2;
    	}
    	elseif ( $gruppe_b['0'] == $team_10_points && $sort_b_platz_5 == 1 ) {
    	$gruppe_b_platz_5 = $team_10_tabelle;
    	$sort_b_platz_5 = 2;
    	}
    	else {
    	 $fehler = '<tr><td colspan="5"><p style="color:red">Es trat ein Fehler auf, konnte Platz 5 nicht zuordnen!</p></td></tr>';
    	};
    
    
    
    
    
    
    
    
    
    
    
    //////////////////////////////////////////////////////// Gruppe C ///////////////////////////////////////////////
    
    
    			 
    $gruppe_c = array( $team_11_points , $team_12_points , $team_13_points, $team_14_points, $team_15_points );
    sort($gruppe_c);
    
    
    $dif_sort_c = array ( $team_11_differenz , $team_12_differenz , $team_13_differenz , $team_14_differenz , $team_15_differenz );
    sort($dif_sort_c);
    
    
    $sort_c_platz_1 = 1;
    $sort_c_platz_2 = 1;
    $sort_c_platz_3 = 1;
    $sort_c_platz_4 = 1;
    $sort_c_platz_5 = 1;
    
    
    if ( $gruppe_c[4] == $team_11_points && $sort_c_platz_1 == 1 /*&& $dif_sort_c[4] == $team_11_differenz*/ ) {
    	$gruppe_c_platz_1 = $team_11_tabelle;
    	$pokal_match_9 = $pokal_team[11];
    	$pokal_match_9_alt = $pokal_team_alt[11];
    	$sort_c_platz_1 = 2;
    	}
    	elseif ( $gruppe_c[4] == $team_12_points && $sort_c_platz_2 == 1 /*&& $dif_sort_c[4] == $team_12_differenz*/ ) {
    	$gruppe_c_platz_1 = $team_12_tabelle;
    	$pokal_match_9 = $pokal_team[12];
    	$pokal_match_9_alt = $pokal_team_alt[12];
    	$sort_c_platz_2 = 2;
    	}
    	elseif ( $gruppe_c[4] == $team_13_points && $sort_c_platz_3 == 1 && $dif_sort_c[4] == $team_13_differenz ) {
    	$gruppe_c_platz_1 = $team_13_tabelle;
    	$pokal_match_9 = $pokal_team[13];
    	$pokal_match_9_alt = $pokal_team_alt[13];
    	$sort_c_platz_3 = 2;
    	}
    	elseif ( $gruppe_c[4] == $team_14_points && $sort_c_platz_4 == 1 && $dif_sort_c[4] == $team_14_differenz ) {
    	$gruppe_c_platz_1 = $team_14_tabelle;
    	$pokal_match_9 = $pokal_team[14];
    	$pokal_match_9_alt = $pokal_team_alt[14];
    	$sort_c_platz_4 = 2;
    	}
    	elseif ( $gruppe_c[4] == $team_15_points && $sort_c_platz_5 == 1 && $dif_sort_c[4] == $team_15_differenz ) {
    	$gruppe_c_platz_1 = $team_15_tabelle;
    	$pokal_match_9 = $pokal_team[15];
    	$pokal_match_9_alt = $pokal_team_alt[15];
    	$sort_c_platz_5 = 2;
    	}
    	else {
    	 $fehler = '<tr><td colspan="5"><p style="color:red">Es trat ein Fehler auf, konnte Platz 1 nicht zuordnen!</p></td></tr>';
    	};
    
    
    if ( $gruppe_c[3] == $team_11_points && $sort_c_platz_1 == 1 ) {
    	$gruppe_c_platz_2 = $team_11_tabelle;
    	$pokal_match_14 = $pokal_team[11];
    	$pokal_match_14_alt = $pokal_team_alt[11];
    	$sort_c_platz_1 = 2;
    	}
    	elseif ( $gruppe_c['3'] == $team_12_points && $sort_c_platz_2 == 1 ) {
    	$gruppe_c_platz_2 = $team_12_tabelle;
    	$pokal_match_14 = $pokal_team[12];
    	$pokal_match_14_alt = $pokal_team_alt[12];
    	$sort_c_platz_2 = 2;
    	}
    	elseif ( $gruppe_c['3'] == $team_13_points && $sort_c_platz_3 == 1 ) {
    	$gruppe_c_platz_2 = $team_13_tabelle;
    	$pokal_match_14 = $pokal_team[13];
    	$pokal_match_14_alt = $pokal_team_alt[13];
    	$sort_c_platz_3 = 2;
    	}
    	elseif ( $gruppe_c['3'] == $team_14_points && $sort_c_platz_4 == 1 ) {
    	$gruppe_c_platz_2 = $team_14_tabelle;
    	$pokal_match_14 = $pokal_team[14];
    	$pokal_match_14_alt = $pokal_team_alt[14];
    	$sort_c_platz_4 = 2;
    	}
    	elseif ( $gruppe_c['3'] == $team_15_points && $sort_c_platz_5 == 1 ) {
    	$gruppe_c_platz_2 = $team_15_tabelle;
    	$pokal_match_14 = $pokal_team[15];
    	$pokal_match_14_alt = $pokal_team_alt[15];
    	$sort_c_platz_5 = 2;
    	}
    	else {
    	 $fehler = '<tr><td colspan="5"><p style="color:red">Es trat ein Fehler auf, konnte Platz 2 nicht zuordnen!</p></td></tr>';
    	};
    
    
    if ( $gruppe_c[2] == $team_11_points && $sort_c_platz_1 == 1 ) {
    	$gruppe_c_platz_3 = $team_11_tabelle;
    	$pokal_match_11 = $pokal_team[11];
    	$pokal_match_11_alt = $pokal_team_alt[11];
    	$sort_c_platz_1 = 2;
    	}
    	elseif ( $gruppe_c['2'] == $team_12_points && $sort_c_platz_2 == 1 ) {
    	$gruppe_c_platz_3 = $team_12_tabelle;
    	$pokal_match_11 = $pokal_team[12];
    	$pokal_match_11_alt = $pokal_team_alt[12];
    	$sort_c_platz_2 = 2;
    	}
    	elseif ( $gruppe_c['2'] == $team_13_points && $sort_c_platz_3 == 1 ) {
    	$gruppe_c_platz_3 = $team_13_tabelle;
    	$pokal_match_11 = $pokal_team[13];
    	$pokal_match_11_alt = $pokal_team_alt[13];
    	$sort_c_platz_3 = 2;
    	}
    	elseif ( $gruppe_c['2'] == $team_14_points && $sort_c_platz_4 == 1 ) {
    	$gruppe_c_platz_3 = $team_14_tabelle;
    	$pokal_match_11 = $pokal_team[14];
    	$pokal_match_11_alt = $pokal_team_alt[14];
    	$sort_c_platz_4 = 2;
    	}
    	elseif ( $gruppe_c['2'] == $team_15_points && $sort_c_platz_5 == 1 ) {
    	$gruppe_c_platz_3 = $team_15_tabelle;
    	$pokal_match_11 = $pokal_team[15];
    	$pokal_match_11_alt = $pokal_team_alt[15];
    	$sort_c_platz_5 = 2;
    	}
    	else {
    	 $fehler = '<tr><td colspan="5"><p style="color:red">Es trat ein Fehler auf, konnte Platz 3 nicht zuordnen!</p></td></tr>';
    	};
    
    
    
    
    if ( $gruppe_c[1] == $team_11_points && $sort_c_platz_1 == 1 ) {
    	$gruppe_c_platz_4 = $team_11_tabelle;
    	$pokal_match_16 = $pokal_team[11];
    	$pokal_match_16_alt = $pokal_team_alt[11];
    	$sort_c_platz_1 = 2;
    	}
    	elseif ( $gruppe_c['1'] == $team_12_points && $sort_c_platz_2 == 1 ) {
    	$gruppe_c_platz_4 = $team_12_tabelle;
    	$pokal_match_16 = $pokal_team[12];
    	$pokal_match_16_alt = $pokal_team_alt[12];
    	$sort_c_platz_2 = 2;
    	}
    	elseif ( $gruppe_c['1'] == $team_13_points && $sort_c_platz_3 == 1 ) {
    	$gruppe_c_platz_4 = $team_13_tabelle;
    	$pokal_match_16 = $pokal_team[13];
    	$pokal_match_16_alt = $pokal_team_alt[13];
    	$sort_c_platz_3 = 2;
    	}
    	elseif ( $gruppe_c['1'] == $team_14_points && $sort_c_platz_4 == 1 ) {
    	$gruppe_c_platz_4 = $team_14_tabelle;
    	$pokal_match_16 = $pokal_team[14];
    	$pokal_match_16_alt = $pokal_team_alt[14];
    	$sort_c_platz_4 = 2;
    	}
    	elseif ( $gruppe_c['1'] == $team_15_points && $sort_c_platz_5 == 1 ) {
    	$gruppe_c_platz_4 = $team_15_tabelle;
    	$pokal_match_16 = $pokal_team[15];
    	$pokal_match_16_alt = $pokal_team_alt[15];
    	$sort_c_platz_5 = 2;
    	}
    	else {
    	 $fehler = '<tr><td colspan="5"><p style="color:red">Es trat ein Fehler auf, konnte Platz 4 nicht zuordnen!</p></td></tr>';
    	};
    
    
    
    
    if ( $gruppe_c[0] == $team_11_points && $sort_c_platz_1 == 1 ) {
    	$gruppe_c_platz_5 = $team_11_tabelle;
    	$sort_c_platz_1 = 2;
    	}
    	elseif ( $gruppe_c['0'] == $team_12_points && $sort_c_platz_2 == 1 ) {
    	$gruppe_c_platz_5 = $team_12_tabelle;
    	$sort_c_platz_2 = 2;
    	}
    	elseif ( $gruppe_c['0'] == $team_13_points && $sort_c_platz_3 == 1 ) {
    	$gruppe_c_platz_5 = $team_13_tabelle;
    	$sort_c_platz_3 = 2;
    	}
    	elseif ( $gruppe_c['0'] == $team_14_points && $sort_c_platz_4 == 1 ) {
    	$gruppe_c_platz_5 = $team_14_tabelle;
    	$sort_c_platz_4 = 2;
    	}
    	elseif ( $gruppe_c['0'] == $team_15_points && $sort_c_platz_5 == 1 ) {
    	$gruppe_c_platz_5 = $team_15_tabelle;
    	$sort_c_platz_5 = 2;
    	}
    	else {
    	 $fehler = '<tr><td colspan="5"><p style="color:red">Es trat ein Fehler auf, konnte Platz 5 nicht zuordnen!</p></td></tr>';
    	};
    
    
    
    
    
    
    
    
    
    
    
    //////////////////////////////////////////////////////// Gruppe D ///////////////////////////////////////////////
    
    
    			 
    $gruppe_d = array( $team_16_points , $team_17_points , $team_18_points, $team_19_points, $team_20_points );
    sort($gruppe_d);
    
    
    $dif_sort_d = array ( $team_16_differenz , $team_17_differenz , $team_18_differenz , $team_19_differenz , $team_20_differenz );
    sort($dif_sort_d);
    
    
    $sort_d_platz_1 = 1;
    $sort_d_platz_2 = 1;
    $sort_d_platz_3 = 1;
    $sort_d_platz_4 = 1;
    $sort_d_platz_5 = 1;
    
    
    if ( $gruppe_d[4] == $team_16_points && $sort_d_platz_1 == 1 /*&& $dif_sort_d[4] == $team_16_differenz*/ ) {
    	$gruppe_d_platz_1 = $team_16_tabelle;
    	$pokal_match_13 = $pokal_team[16];
    	$pokal_match_13_alt = $pokal_team_alt[16];
    	$sort_d_platz_1 = 2;
    	}
    	elseif ( $gruppe_d[4] == $team_17_points && $sort_d_platz_2 == 1 && $dif_sort_d[4] == $team_17_differenz ) {
    	$gruppe_d_platz_1 = $team_17_tabelle;
    	$pokal_match_13 = $pokal_team[17];
    	$pokal_match_13_alt = $pokal_team_alt[17];
    	$sort_d_platz_2 = 2;
    	}
    	elseif ( $gruppe_d[4] == $team_18_points && $sort_d_platz_3 == 1 && $dif_sort_d[4] == $team_18_differenz ) {
    	$gruppe_d_platz_1 = $team_18_tabelle;
    	$pokal_match_13 = $pokal_team[18];
    	$pokal_match_13_alt = $pokal_team_alt[18];
    	$sort_d_platz_3 = 2;
    	}
    	elseif ( $gruppe_d[4] == $team_19_points && $sort_d_platz_4 == 1 && $dif_sort_d[4] == $team_19_differenz ) {
    	$gruppe_d_platz_1 = $team_19_tabelle;
    	$pokal_match_13 = $pokal_team[19];
    	$pokal_match_13_alt = $pokal_team_alt[19];
    	$sort_d_platz_4 = 2;
    	}
    	elseif ( $gruppe_d[4] == $team_20_points && $sort_d_platz_5 == 1 && $dif_sort_d[4] == $team_20_differenz ) {
    	$gruppe_d_platz_1 = $team_20_tabelle;
    	$pokal_match_13 = $pokal_team[20];
    	$pokal_match_13_alt = $pokal_team_alt[20];
    	$sort_d_platz_5 = 2;
    	}
    	else {
    	 $fehler = '<tr><td colspan="5"><p style="color:red">Es trat ein Fehler auf, konnte Platz 1 nicht zuordnen!</p></td></tr>';
    	};
    
    
    if ( $gruppe_d[3] == $team_16_points && $sort_d_platz_1 == 1 ) {
    	$gruppe_d_platz_2 = $team_16_tabelle;
    	$pokal_match_10 = $pokal_team[16];
    	$pokal_match_10_alt = $pokal_team_alt[16];
    	$sort_d_platz_1 = 2;
    	}
    	elseif ( $gruppe_d['3'] == $team_17_points && $sort_d_platz_2 == 1 ) {
    	$gruppe_d_platz_2 = $team_17_tabelle;
    	$pokal_match_10 = $pokal_team[17];
    	$pokal_match_10_alt = $pokal_team_alt[17];
    	$sort_d_platz_2 = 2;
    	}
    	elseif ( $gruppe_d['3'] == $team_18_points && $sort_d_platz_3 == 1 ) {
    	$gruppe_d_platz_2 = $team_18_tabelle;
    	$pokal_match_10 = $pokal_team[18];
    	$pokal_match_10_alt = $pokal_team_alt[18];
    	$sort_d_platz_3 = 2;
    	}
    	elseif ( $gruppe_d['3'] == $team_19_points && $sort_d_platz_4 == 1 ) {
    	$gruppe_d_platz_2 = $team_19_tabelle;
    	$pokal_match_10 = $pokal_team[19];
    	$pokal_match_10_alt = $pokal_team_alt[19];
    	$sort_d_platz_4 = 2;
    	}
    	elseif ( $gruppe_d['3'] == $team_20_points && $sort_d_platz_5 == 1 ) {
    	$gruppe_d_platz_2 = $team_20_tabelle;
    	$pokal_match_10 = $pokal_team[20];
    	$pokal_match_10_alt = $pokal_team_alt[20];
    	$sort_d_platz_5 = 2;
    	}
    	else {
    	 $fehler = '<tr><td colspan="5"><p style="color:red">Es trat ein Fehler auf, konnte Platz 2 nicht zuordnen!</p></td></tr>';
    	};
    
    
    if ( $gruppe_d[2] == $team_16_points && $sort_d_platz_1 == 1 ) {
    	$gruppe_d_platz_3 = $team_16_tabelle;
    	$pokal_match_15 = $pokal_team[16];
    	$pokal_match_15_alt = $pokal_team_alt[16];
    	$sort_d_platz_1 = 2;
    	}
    	elseif ( $gruppe_d['2'] == $team_17_points && $sort_d_platz_2 == 1 ) {
    	$gruppe_d_platz_3 = $team_17_tabelle;
    	$pokal_match_15 = $pokal_team[17];
    	$pokal_match_15_alt = $pokal_team_alt[17];
    	$sort_d_platz_2 = 2;
    	}
    	elseif ( $gruppe_d['2'] == $team_18_points && $sort_d_platz_3 == 1 ) {
    	$gruppe_d_platz_3 = $team_18_tabelle;
    	$pokal_match_15 = $pokal_team[18];
    	$pokal_match_15_alt = $pokal_team_alt[18];
    	$sort_d_platz_3 = 2;
    	}
    	elseif ( $gruppe_d['2'] == $team_19_points && $sort_d_platz_4 == 1 ) {
    	$gruppe_d_platz_3 = $team_19_tabelle;
    	$pokal_match_15 = $pokal_team[19];
    	$pokal_match_15_alt = $pokal_team_alt[19];
    	$sort_d_platz_4 = 2;
    	}
    	elseif ( $gruppe_d['2'] == $team_20_points && $sort_d_platz_5 == 1 ) {
    	$gruppe_d_platz_3 = $team_20_tabelle;
    	$pokal_match_15 = $pokal_team[20];
    	$pokal_match_15_alt = $pokal_team_alt[20];
    	$sort_d_platz_5 = 2;
    	}
    	else {
    	 $fehler = '<tr><td colspan="5"><p style="color:red">Es trat ein Fehler auf, konnte Platz 3 nicht zuordnen!</p></td></tr>';
    	};
    
    
    
    
    if ( $gruppe_d[1] == $team_16_points && $sort_d_platz_1 == 1 && $dif_sort_d[1] == $team_16_differenz) {
    	$gruppe_d_platz_4 = $team_16_tabelle;
    	$pokal_match_12 = $pokal_team[16];
    	$pokal_match_12_alt = $pokal_team_alt[16];
    	$sort_d_platz_1 = 2;
    	}
    	elseif ( $gruppe_d['1'] == $team_17_points && $sort_d_platz_2 == 1 && $dif_sort_d[1] == $team_17_differenz) {
    	$gruppe_d_platz_4 = $team_17_tabelle;
    	$pokal_match_12 = $pokal_team[17];
    	$pokal_match_12_alt = $pokal_team_alt[17];
    	$sort_d_platz_2 = 2;
    	}
    	elseif ( $gruppe_d['1'] == $team_18_points && $sort_d_platz_3 == 1 && $dif_sort_d[1] == $team_18_differenz) {
    	$gruppe_d_platz_4 = $team_18_tabelle;
    	$pokal_match_12 = $pokal_team[18];
    	$pokal_match_12_alt = $pokal_team_alt[18];
    	$sort_d_platz_3 = 2;
    	}
    	elseif ( $gruppe_d['1'] == $team_19_points && $sort_d_platz_4 == 1 && $dif_sort_d[1] == $team_19_differenz) {
    	$gruppe_d_platz_4 = $team_19_tabelle;
    	$pokal_match_12 = $pokal_team[19];
    	$pokal_match_12_alt = $pokal_team_alt[19];
    	$sort_d_platz_4 = 2;
    	}
    	elseif ( $gruppe_d['1'] == $team_20_points && $sort_d_platz_5 == 1 && $dif_sort_d[1] == $team_20_differenz) {
    	$gruppe_d_platz_4 = $team_20_tabelle;
    	$pokal_match_12 = $pokal_team[20];
    	$pokal_match_12_alt = $pokal_team_alt[20];
    	$sort_d_platz_5 = 2;
    	}
    	else {
    	 $fehler = '<tr><td colspan="5"><p style="color:red">Es trat ein Fehler auf, konnte Platz 4 nicht zuordnen!</p></td></tr>';
    	};
    
    
    
    
    if ( $gruppe_d[0] == $team_16_points && $sort_d_platz_1 == 1 && $dif_sort_d[0] == $team_16_differenz) {
    	$gruppe_d_platz_5 = $team_16_tabelle;
    	$sort_d_platz_1 = 2;
    	}
    	elseif ( $gruppe_d['0'] == $team_17_points && $sort_d_platz_2 == 1 && $dif_sort_d[0] == $team_17_differenz) {
    	$gruppe_d_platz_5 = $team_17_tabelle;
    	$sort_d_platz_2 = 2;
    	}
    	elseif ( $gruppe_d['0'] == $team_18_points && $sort_d_platz_3 == 1 && $dif_sort_d[0] == $team_18_differenz) {
    	$gruppe_d_platz_5 = $team_18_tabelle;
    	$sort_d_platz_3 = 2;
    	}
    	elseif ( $gruppe_d['0'] == $team_19_points && $sort_d_platz_4 == 1 && $dif_sort_d[0] == $team_19_differenz) {
    	$gruppe_d_platz_5 = $team_19_tabelle;
    	$sort_d_platz_4 = 2;
    	}
    	elseif ( $gruppe_d['0'] == $team_20_points && $sort_d_platz_5 == 1 && $dif_sort_d[0] == $team_20_differenz) {
    	$gruppe_d_platz_5 = $team_20_tabelle;
    	$sort_d_platz_5 = 2;
    	}
    	else {
    	 $fehler = '<tr><td colspan="5"><p style="color:red">Es trat ein Fehler auf, konnte Platz 5 nicht zuordnen!</p></td></tr>';
    	};
    	?>
    Alles anzeigen

    ihr seht etwas umständlich gemacht und vor allem es gibt fehler wenn ein team eine höhere differenz hat aber weniger punkte als ein anderes weil er in die ifabfragen immer && (AND) macht...

    Ich würde erstmal mit ner schleife beginnen aber zum Rest fällt mir nix ein da steh ich grad voll aufm schlauch :P

    MFG FireFlyer

  • Arrrrgh, Medion-Laptop kaputt!?

    • FireFlyer
    • 23. Juni 2008 um 22:45

    joar msi benutzt eig. immer award bios, und den ton kenn ich leider nur zu gut... xD graka futsch allerdings wars bei mir en desktop PC :)

  • 2. Script aus einem Script aufrufen.

    • FireFlyer
    • 20. Juni 2008 um 13:08

    aus der hilfe:
    Number:

    Spoiler anzeigen
    [autoit]

    $w = Number(1+2+10) ;returns 13
    $x = Number("3.14") ;returns 3.14
    $y = Number("24/7") ;returns 24
    $z = Number("tmp3") ;returns 0

    [/autoit]

    Int: (Integer = Ganzzahl)

    Spoiler anzeigen
    [autoit]

    $var = Int(10.793) ;$var is the integer 10
    $int = Int("3.1443") ;das ist jetzt von mir: das es auch so geht ;)

    [/autoit]
  • !!! AUTOIT MEETS TMN V2.0 RELEASED !!!!

    • FireFlyer
    • 20. Juni 2008 um 12:57

    joar me2 :D zwar schon lang net mehr gefahren aber das wird schon :P

  • Sprung function oder so in der art?

    • FireFlyer
    • 20. Juni 2008 um 12:47

    keine ahnung vielleicht so?
    Ne eigene Funktion gibts dafür aber net ;)

    Spoiler anzeigen
    [autoit]

    #include <GUIConstants.au3>

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

    HotKeySet("{SPACE}","_Jump")

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

    #Region ### START Koda GUI section ### Form=
    $Form1 = GUICreate("Form1", 275, 224, 447, 305)
    GUISetState(@SW_SHOW)
    $pic = GUICtrlCreatePic("pic.bmp",105,175,50,50)
    #EndRegion ### END Koda GUI section ###

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

    While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
    Case $GUI_EVENT_CLOSE
    Exit

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

    EndSwitch
    WEnd

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

    Func _Jump()
    For $i = 175 To 1 Step -5
    GUICtrlSetPos($pic, 105, $i)
    sleep(1)
    Next
    For $i = 1 To 175 Step 5
    GUICtrlSetPos($pic, 105, $i)
    Sleep(2)
    Next
    EndFunc

    [/autoit]
  • PC Fernwartung

    • FireFlyer
    • 20. Juni 2008 um 03:20

    also ich benutze teamviewer und habe mir ein script geschrieben welches teamviewer beim user automatisch öffnet und mir seine ID und PW schickt natürlich erst nach seiner zustimmung ;)
    TeamViewer FTW :D

  • 2 Fragen, Rechte & Freigabe setzen & "nachrichten" senden

    • FireFlyer
    • 20. Juni 2008 um 03:09

    ohmann,

    und ich der früher mal so viel mit batch gemacht habe... ich glaube mein gehirn ist wie ein sieb aber egal!! :D
    @xeno ich hab noch was viel besseres & komplizierteres gefunden xD
    Nee quatsch ich hab mir mal das mit TCPSend und so angeschaut und so funktioniert mein script jetzt auch ;) wollte halt mal wieder was neues lernen; du merkst, alles ausreden aber egal :D Ich wollte halt net das quasi immer ein ordner freigegeben sein muss wo die exe drin ist damit der client die ausführen kann aber mit tcpsend ist das alles wunderbar :D

    Vielen dank natürlich trotzdem für deine denkanstöße *lalalala* :rolleyes:

  • neuste datei im verzeichnis finden

    • FireFlyer
    • 20. Juni 2008 um 00:17
    Spoiler anzeigen
    [autoit]

    #include <array.au3>
    #include <Date.au3>
    Dim $array[1][2]
    $pfad = "C:\Windows\system32"
    $a = FileFindFirstFile($pfad&"\*.exe")
    $i = 0
    While 1
    $file = FileFindNextFile($a)
    If @error Then ExitLoop
    ReDim $array[UBound($array)+1][2]
    $array[$i][0] = $pfad&"\"&$file
    $array[$i][1] = FileGetTime($pfad&"\"&$file, 0, 1)
    $i += 1
    WEnd
    _ArrayDisplay($array)
    Exit

    [/autoit]

    hier schonmal die funktion zu auflistung aller files

  • exe suchen und starten?

    • FireFlyer
    • 19. Juni 2008 um 00:31

    kann aber trotzdem sein das was in der registry steht ;) denn die wow.exe könnte ja auch in die registry schreiben evt für plugins oder patches oder keine ahnung ich würd lieber mal nachschaun ;)

  • exe suchen und starten?

    • FireFlyer
    • 18. Juni 2008 um 23:30

    geh mal in die registry und schau mal unter
    HKEY_LOCAL_MACHINE\SOFTWARE\
    und dann entweder world of warcraft, wow, oder der spielehersteller oft gibt es dann dort einen REG_SZ der path oder so heisst
    dann bauste einfach in dein script ein:

    [autoit]

    $regread = RegRead("HKEY_LOCAL_MACHINE\Software\wow\", "Path") ;Path & \wow sind von mir erfunden
    ;und dann einfach
    Run($regread&"\wow.exe")

    [/autoit]
  • Autoit arbeiten Lassen ohne Rechner blockieren?

    • FireFlyer
    • 17. Juni 2008 um 12:40

    hä?
    geht doch wunderbar:

    [autoit]

    MouseClick("Right", 0, 0, 1, 1)
    MouseClick("Right", @DesktopWidth, @DesktopHeight, 1, 1)

    [/autoit]
  • Random Zufällige Kombination aus Zahlen

    • FireFlyer
    • 17. Juni 2008 um 12:12
    Spoiler anzeigen
    [autoit]

    $zahl = Random(1, 9)
    MsgBox(0, "Random", $zahl)

    [/autoit]

    Was geht da jetzt nicht?

  • Random Zufällige Kombination aus Zahlen

    • FireFlyer
    • 17. Juni 2008 um 12:07

    Random

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™