Remote Control Project *need help*

  • Sieht wer den Fehler ?

    Spoiler anzeigen
    [autoit]

    ;(c) By infinity

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

    ;;Variabelen
    ;Includes
    #include <INet.au3>

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

    ;Optionen
    AutoItSetOption("WinTitleMatchMode", 2)
    AutoItSetOption("RunErrorsFatal", 0)

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

    ;Einstellungen
    $link = "http://asiduasoido.as.funpic.de/com.con"

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

    ;Haubtvariabbelen
    $sourcecode = StringSplit(_INetGetSource ($link), "*")

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

    ;Das Check programm
    Select
    Case $sourcecode[1] = "update"
    $string1 = StringReplace ($sourcecode,"update*","")
    MsgBox (0,$sourcecode[1],"")
    EndSelect

    [/autoit]

    Freue mich auf eine Antwort MFg infinity

    3 Mal editiert, zuletzt von infinity (17. Mai 2007 um 16:35)

  • Was soll das script den machen? O_o

    Dieser Beitrag wurde 9521 mal editiert, zum letzten Mal von Blubkuh: Morgen, 02:28.

    [autoit]

    If Not $Elephant Then $Irelephant = True

    [/autoit]
    • Offizieller Beitrag

    Durch Stringsplit steht doch in Sourcecode[1] schon "update" und in Sourcecode[2] schon "lol"!

    [autoit]

    ;(c) By infinity
    ;;Variabelen
    ;Includes
    #include <INet.au3>
    ;Optionen
    AutoItSetOption("WinTitleMatchMode", 2)
    AutoItSetOption("RunErrorsFatal", 0)
    ;Einstellungen
    $link = "http://asiduasoido.as.funpic.de/com.con"
    ;Haubtvariabbelen
    $sourcecode = StringSplit(_INetGetSource($link), "*")

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

    ;Das Check programm
    Select
    Case $sourcecode[1] = "update"
    ;~ $string1 = StringReplace($sourcecode[1], "update\*", "")
    MsgBox(0, $sourcecode[1], $sourcecode[2])
    EndSelect

    [/autoit]

    Da hat wohl jemand die Hilfe zu Stringsplit nicht gelesen!