Kann Auswahl in zwei Comboboxen nicht mit ControlCommand() festlegen viell. wg. Icons???

  • Hi, ich will in der Suche von eMule V0.48 unter TYP 'Audio' und unter METHODE 'KAD Netzwerk' auswählen. Geht aber beides nicht. Vielleicht weil links vom Eintrag noch Icons sind? Gibt es irgendeine Möglichkeit besagte Auswahl zu treffen. Es wäre am besten wenn man dazu das Fenster nicht zu aktivieren braucht ALso nicht ControlSetFocus und dann DOWN DOWN ...Gruss Jan

    [autoit]

    EnvSet('Searchqueue', 'London|Moskau|Paris'); Suche im Internet mit Copy, Paste per Script in eMule
    EnvUpdate()
    MsgBox(4096, '', EnvGet('Searchqueue'),2)
    $a=StringSplit(EnvGet('Searchqueue'),'|')
    ;If ProcessExists('emule.exe') = 1 Then
    For $i = 1 to 2
    While $a[$i]='' ;warte solange die Warteschlange leer ist
    Sleep(500)
    $a=StringSplit(EnvGet('Searchqueue'),'|')
    WEnd
    _SleepWhileStartIsntAvailable()
    MsgBox(4096,$i,$a[$i],1)
    ;Suche über Global Server
    ControlSetText('eMule v0.', '', 2183, $a[$i] ); Edit6 ,Eingabe ins Suchfenster
    ControlCommand('eMule v0.', '', 2322, 'SelectString', 'Audio' );ComboBox1 TYP
    ControlCommand('eMule v0.', '', 2175, 'SelectString', 'Global (Server)' ); ComboBox2 METHODE
    ControlClick('eMule v0.', '', 2189)
    _SleepWhileStartIsntAvailable()
    ;Suche über KAD
    ControlSetText('eMule v0.', '', 2183, $a[$i] ); Edit6
    ControlCommand('eMule v0.', '', 2322, 'SelectString', 'Audio' )
    ControlCommand('eMule v0.', '', 2175, 'SelectString', 'KAD Netzwerk' ); ComboBox2
    ControlClick('eMule v0.', '', 2189)
    Next
    ;EndIf

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

    Func _SleepWhileStartIsntAvailable()
    While ControlCommand('eMule v0.', '', 2189, 'IsEnabled', '') = 0
    Sleep(500)
    WEnd
    EndFunc

    [/autoit]

    2 Mal editiert, zuletzt von janrenzlow (9. April 2008 um 18:37)