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

Beiträge von Freaky

  • TCP Seite besuchen geht nicht

    • Freaky
    • 27. Mai 2010 um 16:07

    Hallo,
    ich möchte über TCP eine Seite besuchen, nur leider komme ich nichtmal soweit das ich was zurück bekommen.
    Was mache ich Falsch ?

    Spoiler anzeigen
    [autoit]

    TCPStartup()
    $iIP = TCPNameToIP("https://customer.cc.at.paysafecard.com")
    Global $iSocket = TCPConnect($iIP, 80)
    If $iSocket = -1 Then Exit

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

    MsgBox (0,"",_psc_besuchen())

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

    Func _psc_besuchen()
    $sHeader = "GET /psccustomer/GetWelcomePanelServlet HTTP/1.1" & @CRLF & _
    "Host: customer.cc.at.paysafecard.com" & @CRLF & _
    "User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 ( .NET CLR 3.5.30729)" & @CRLF & _
    "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" & @CRLF & _
    "Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3" & @CRLF & _
    "Accept-Encoding: gzip,deflate" & @CRLF & _
    "Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7" & @CRLF & _
    "Keep-Alive: 115" & @CRLF & _
    "Connection: keep-alive"
    $iSend = TCPSend($iSocket, $sHeader)
    MsgBox (0,"",$iSend)
    While 1
    $sRecv = TCPRecv($iSocket, 2048)
    If $sRecv <> '' Then
    While 1
    $sRecv &= TCPRecv($iSocket, 2048)
    If @error Or StringInStr($sRecv, "/seam/resource/captcha") Then ExitLoop 2
    WEnd
    EndIf
    WEnd

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

    Return $sRecv
    EndFunc

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

    Func _psc_test($code1, $code2, $code3, $code4, $pw, $captcha)
    $sPost = "j_id17=j_id17&j_id17%3Arn1=" & $code1 & "&j_id17%3Arn2=" & $code2 & "&j_id17%3Arn3=" & $code3 & "&j_id17%3Arn4=" & $code4 & "&j_id17%3Aj_id23=" & $pw & "&j_id17%3AverifyCaptcha=" & $captcha & "&j_id17%3Anext=Next&javax.faces.ViewState=j_id1"
    $sHeader = "POST /psccustomer/GetWelcomePanelServlet HTTP/1.1" & @CRLF & _
    "Host: customer.cc.at.paysafecard.com" & @CRLF & _
    "User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 ( .NET CLR 3.5.30729)" & @CRLF & _
    "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" & @CRLF & _
    "Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3" & @CRLF & _
    "Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7" & @CRLF & _
    "Keep-Alive: 115" & @CRLF & _
    "Connection: keep-alive" & @CRLF & _
    "Content-Type: text/html; charset=utf-8" & @CRLF & _
    "Content-Length: " & StringLen($sPost) & @CRLF & @CRLF & $sPost

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

    ;"Referer: https://customer.cc.at.paysafecard.com/psccustomer/we…eam?cvid=486817" & @CRLF & _
    $iSend = TCPSend($iSocket, $sHeader)

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

    While 1
    $sRecv = TCPRecv($iSocket, 1024)
    If $sRecv <> '' Then
    While 1
    $sRecv &= TCPRecv($iSocket, 1024)
    If @error Or StringInStr($sRecv, "Content-Type: text/html; charset=utf-8") Then ExitLoop 2
    WEnd
    EndIf
    WEnd

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

    Return $sRecv
    EndFunc ;==>_psc_test

    [/autoit]
  • _IE auf Link klicken

    • Freaky
    • 26. Mai 2010 um 19:05

    Ok danke, ich habe jetzt einfach nach > und < gesplitet und jetzt Zeigt es mir auch den Text an :)

  • _IE auf Link klicken

    • Freaky
    • 26. Mai 2010 um 19:02

    Könnte hinhauen, das Problem ist, ich kenne den Text ja nicht ^^

  • _IE auf Link klicken

    • Freaky
    • 26. Mai 2010 um 18:55

    Hallo,
    ich möchte mir ein Script schreiben das mir eine Fakemail macht (bei 10minutenmail.com)

    So das Problem ist, ich kriege es nicht hin wenn ich eine Mail bekomme, das er draufklickt.

    Könnt ihr mir helfen pls ? :)

    [autoit]

    #include <Array.au3>
    #include <GUIConstantsEx.au3>
    #include <IE.au3>
    #include <String.au3>

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

    _IEErrorHandlerRegister()
    $seite = _IECreateEmbedded()

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

    #Region ### START Koda GUI section ### Form=
    $Form1 = GUICreate("Form1", 874, 614, 142, 83)
    $Pic1 = GUICtrlCreateObj($seite, 2, 2, 870, 610)
    GUISetState(@SW_SHOW)
    #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]

    ps: Um eine Mail zu bekommen, müsst ihr warscheinlich euch selber ne Mail zu schreiben :D

  • Case wird wegen einem Transparenten Bild ausgelöst

    • Freaky
    • 25. Mai 2010 um 12:22

    Ich will ein Transparentes Bild drüber legeben weil zuerst kommt ein Label, danach ein Hintergrund Bild.
    Wieso nicht anderes rum?
    Ganz einfach, mein Label hat dann ein fetten wießen Rand. Und wenn ein Bild überm Label liegt, dann kann man nicht draufklicken, und deswegen möchte ich ein Transparentes Bild drüber legeben.
    Ich kann auch ein GUICtrlCreatePic ohne Bild hinmache !
    Nein das macht ebenfals eine wieße Stelle über dem Label so das man es garnicht mehr sieht :(

  • Case wird wegen einem Transparenten Bild ausgelöst

    • Freaky
    • 24. Mai 2010 um 23:35

    Das funktioniert aber wenn ich ein sichtbares Bild hinmachen :P
    Will aber das Transparente haben :(

  • Case wird wegen einem Transparenten Bild ausgelöst

    • Freaky
    • 24. Mai 2010 um 23:29

    Ihr immer mit euren Codes :D

    [autoit]

    #include <GUIConstantsEx.au3>
    #Region ### START Koda GUI section ### Form=
    $Form1 = GUICreate("Form1", 367, 306, 192, 124)
    $Pic1 = GUICtrlCreatePic("pixel.jpg", 14, 20, 290, 232)
    GUISetState(@SW_SHOW)
    #EndRegion ### END Koda GUI section ###

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

    While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
    Case $GUI_EVENT_CLOSE
    Exit
    Case $Pic1
    MsgBox (0,"","")
    EndSwitch
    WEnd

    [/autoit]


    msgbox wird immer ausgelöst egal ob man draufklickt oder nicht :(

  • Case wird wegen einem Transparenten Bild ausgelöst

    • Freaky
    • 24. Mai 2010 um 23:13

    Hallo,
    ich habe ein Problem mit meiner GUI.
    Undzwar will ich das wenn man auf ein Transparantes Bild klickt, dann soll ein Case ausgelöst werden soll.
    Das Problem ist, das der Handel des Controls vom Bild 0 ist obwohl das Bild exestiert und der Pfad richtig ist.

    Was mache ich Falsch ?

    Bilder

    • pixel.jpg
      • 2,82 kB
      • 25 × 25
  • Farbige Progressbar

    • Freaky
    • 24. Mai 2010 um 20:53

    Hmm, funktioniert immer noch nicht :P

  • Farbige Progressbar

    • Freaky
    • 24. Mai 2010 um 20:37

    Habe Windows XP und das bleibt Grün gestrichelt :(

  • Farbige Progressbar

    • Freaky
    • 24. Mai 2010 um 20:10

    Hallo,
    es gibt ja eine UDF von Progandy um Progressbar zu färben.
    Das Problem ist nur bei mir sterben alle Scripte damit.
    Ok dachte ich mir, vll liegt es an meinem PC, schike das Tool an den Kumpel und tada dort stirbt es ebenfals.

    Kennt wer eine andere UDF um Progressbar zu färben ?

  • GUICtrlCreateObj Styls anwenden

    • Freaky
    • 24. Mai 2010 um 18:40

    Ich glaube nicht das der Admin möchte das hier dieser Link auftaucht :D

    Das Script ist aber kein Bot ;)

  • GUICtrlCreateObj Styls anwenden

    • Freaky
    • 24. Mai 2010 um 18:25

    Die Seite habe ich selber gemacht, das ist sowas wie ein News Fenster.

    Die Scrollbalken sind auch Disable sodas die Seite zu klein ist um sie zu aktivieren.

  • GUICtrlCreateObj Styls anwenden

    • Freaky
    • 24. Mai 2010 um 18:13

    Geht schlecht da die Seite fast in der mitte meiner GUI ist :(

  • GUICtrlCreateObj Styls anwenden

    • Freaky
    • 24. Mai 2010 um 16:01

    Hallo,
    ist es möglich bei GUICtrlCreateObj Styles anzuwenden ?

    Ich möchte die Scroll dinger unten und Rechts weg kriegen und den Rand auch.

    Ich benutze das GUICtrlCreateObj um eine IE Fenster anzuzeigen.

  • Soundaufnahme

    • Freaky
    • 24. Mai 2010 um 14:36

    HopFail
    :P
    [Blockierte Grafik: http://s2.imgimg.de/uploads/soundaf030e72jpg.jpg]

    Andy

    Wo ist den bitte "Stereomix" ?

    Edit: gefunden :D

  • Progressbar mit GDIplus

    • Freaky
    • 24. Mai 2010 um 14:30

    Hallo,
    ich weiß das es sehr alt ist, aber egal.

    Mein Script bleibt offt mitten im laden hengen und dannach tut sich rein garnichts.
    Damit ich es dann wieder zukriege, muss ich das Script per Task Manager ausmachen.

    Könnte sich das vll jemand angucken (die UDF) und versuchen den Fehler zu finden ?

    ps: Es kommt keine Fehlermeldung.

  • _Adlib.au3 UDF funktioniert nicht

    • Freaky
    • 24. Mai 2010 um 14:26

    Danke klapt jetzt wieder :)

  • _Adlib.au3 UDF funktioniert nicht

    • Freaky
    • 24. Mai 2010 um 14:01

    Ok, habe ich gemacht, jetzt kommt aber ein Error ^^

    Code
    ERROR: _AdlibEnable(): undefined function.
    				_AdlibEnable("Ernten", 2000)
    				~~~~~~~~~~~~~~~~~~~~~~~~~~~^
    ERROR: _AdlibDisable(): undefined function.
    			_AdlibDisable("Ernten")
    			~~~~~~~~~~~~~~~~~~~~~~^
  • _Adlib.au3 UDF funktioniert nicht

    • Freaky
    • 24. Mai 2010 um 13:27

    Nein funktioniert immer noch nicht.
    Hier die Fehlermeldung:

    Vorsicht lang ^^
    Code
    _Adlib.au3(90,41) : WARNING: $al_func: possibly used before declaration.
        If $sync < 0 Or $sync > $al_func[0] Or
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
    _Adlib.au3(93,29) : WARNING: $al_ID possibly not declared/created yet
        $al_ID = $al_func[0] + 1
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
    _Adlib.au3(94,53) : WARNING: $al_time possibly not declared/created yet
        ReDim $al_func[$al_ID + 1], $al_time[$al_ID + 1],
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
    _Adlib.au3(94,78) : WARNING: $al_current possibly not declared/created yet
        ReDim $al_func[$al_ID + 1], $al_time[$al_ID + 1], $al_current[$al_ID + 1],
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
    _Adlib.au3(95,33) : WARNING: $al_next possibly not declared/created yet
                $al_next[$al_ID + 1],
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
    _Adlib.au3(95,56) : WARNING: $al_param possibly not declared/created yet
                $al_next[$al_ID + 1], $al_param[$al_ID + 1],
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
    _Adlib.au3(95,79) : WARNING: $al_count possibly not declared/created yet
                $al_next[$al_ID + 1], $al_param[$al_ID + 1], $al_count[$al_ID + 1]
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
    _Adlib.au3(106,23) : WARNING: $al_update possibly not declared/created yet
            $al_update = 1
    ~~~~~~~~~~~~~~~~~~~~~~^
    _Adlib.au3(94,53) : WARNING: $al_time: declared, but not used in func.
        ReDim $al_func[$al_ID + 1], $al_time[$al_ID + 1],
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
    _Adlib.au3(94,78) : WARNING: $al_current: declared, but not used in func.
        ReDim $al_func[$al_ID + 1], $al_time[$al_ID + 1], $al_current[$al_ID + 1],
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
    _Adlib.au3(95,56) : WARNING: $al_param: declared, but not used in func.
                $al_next[$al_ID + 1], $al_param[$al_ID + 1],
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
    _Adlib.au3(95,79) : WARNING: $al_count: declared, but not used in func.
                $al_next[$al_ID + 1], $al_param[$al_ID + 1], $al_count[$al_ID + 1]
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
    _Adlib.au3(106,23) : WARNING: $al_update: declared, but not used in func.
            $al_update = 1
    ~~~~~~~~~~~~~~~~~~~~~~^
    _Adlib.au3(143,25) : WARNING: $al_next possibly not declared/created yet
        $al_next[$al_ID] = 0
    ~~~~~~~~~~~~~~~~~~~~~~~~^
    _Adlib.au3(144,26) : WARNING: $al_count possibly not declared/created yet
        $al_count[$al_ID] = 0
    ~~~~~~~~~~~~~~~~~~~~~~~~~^
    _Adlib.au3(145,28) : WARNING: $al_current possibly not declared/created yet
        $al_current[$al_ID] = 0
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~^
    _Adlib.au3(146,27) : WARNING: $al_param possibly not declared/created yet
        $al_param[$al_ID] = ""
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^
    _Adlib.au3(148,19) : WARNING: $al_update possibly not declared/created yet
        $al_update = 1
    ~~~~~~~~~~~~~~~~~~^
    _Adlib.au3(143,25) : WARNING: $al_next: declared, but not used in func.
        $al_next[$al_ID] = 0
    ~~~~~~~~~~~~~~~~~~~~~~~~^
    _Adlib.au3(144,26) : WARNING: $al_count: declared, but not used in func.
        $al_count[$al_ID] = 0
    ~~~~~~~~~~~~~~~~~~~~~~~~~^
    _Adlib.au3(145,28) : WARNING: $al_current: declared, but not used in func.
        $al_current[$al_ID] = 0
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~^
    _Adlib.au3(146,27) : WARNING: $al_param: declared, but not used in func.
        $al_param[$al_ID] = ""
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^
    _Adlib.au3(148,19) : WARNING: $al_update: declared, but not used in func.
        $al_update = 1
    ~~~~~~~~~~~~~~~~~~^
    _Adlib.au3(184,36) : WARNING: $al_current possibly not declared/created yet
                    $al_current[$i] = 0
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
    _Adlib.au3(185,39) : WARNING: $al_count possibly not declared/created yet
                    $al_count[$i] = $count
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
    _Adlib.au3(184,36) : WARNING: $al_current: declared, but not used in func.
                    $al_current[$i] = 0
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
    _Adlib.au3(185,39) : WARNING: $al_count: declared, but not used in func.
                    $al_count[$i] = $count
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
    _Adlib.au3(225,47) : WARNING: $al_time: possibly used before declaration.
                    $al_current[$i] = $al_time[$i]
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
    _Adlib.au3(225,47) : WARNING: $al_current possibly not declared/created yet
                    $al_current[$i] = $al_time[$i]
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
    _Adlib.au3(225,47) : WARNING: $al_current: declared, but not used in func.
                    $al_current[$i] = $al_time[$i]
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
    _Adlib.au3(274,48) : WARNING: $al_current possibly not declared/created yet
                        $al_current[$al_ID] = $time
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
    _Adlib.au3(277,62) : WARNING: $al_count possibly not declared/created yet
                    If $count > 0 Then $al_count[$al_ID] = $count
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
    _Adlib.au3(278,58) : WARNING: $al_param possibly not declared/created yet
                    If $param Then $al_param[$al_ID] = $param
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
    _Adlib.au3(283,45) : WARNING: $al_update possibly not declared/created yet
            If $time > 0 Then $al_update = $time
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
    _Adlib.au3(274,48) : WARNING: $al_current: declared, but not used in func.
                        $al_current[$al_ID] = $time
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
    _Adlib.au3(277,62) : WARNING: $al_count: declared, but not used in func.
                    If $count > 0 Then $al_count[$al_ID] = $count
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
    _Adlib.au3(278,58) : WARNING: $al_param: declared, but not used in func.
                    If $param Then $al_param[$al_ID] = $param
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
    _Adlib.au3(283,45) : WARNING: $al_update: declared, but not used in func.
            If $time > 0 Then $al_update = $time
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
    _Adlib.au3(329,53) : WARNING: $al_next: possibly used before declaration.
                    $al_next[$al_ID] = $al_next[$al_ID2]
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
    _Adlib.au3(365,40) : WARNING: $al_current: possibly used before declaration.
                    If $al_current[$al_ID] Then
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
    _Adlib.au3(478,33) : WARNING: $al_count: possibly used before declaration.
        $ret[4] = $al_count[$al_ID] *
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
    _Adlib.au3(481,32) : WARNING: $al_param: possibly used before declaration.
        $ret[5] = $al_param[$al_ID]
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
    _Adlib.au3(559,19) : WARNING: $al_update: possibly used before declaration.
        If $al_update Then
    ~~~~~~~~~~~~~~~~~~^
    _Adlib.au3(596,86) : WARNING: $al_update already declared/assigned
                $al_next[1] = [0], $al_param[1] = [0], $al_count[1] = [0], $al_update = 0
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
    Alles anzeigen

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™