.
Dieser Beitrag wurde bereits 3 mal editiert, zuletzt von »smaXer« (14. April 2009, 17:13)
|
|
Quellcode
|
1 2 3 |
<td style=""> 0 -> Dieser WERT </td> |
|
|
AutoIt-QuellCode
|
1 |
_stringbetween($body,'<td style="">','</td>') |
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »smaXer« (17. April 2009, 14:27)
|
|
AutoIt-QuellCode
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
#include <GUIConstantsEx.au3> #include <ie.au3> #include <array.au3> #include <String.au3> ... local $email, $pw, $oIE, $oUsername, $oPasswd, $oForm, $sHTML, $array $sHTML = _IEBodyReadHTML ($oIE) $sHTML = $sHTML & "<p><font color=red size=+5>Big RED text!</font>" _IEBodyWriteHTML ($oIE, $sHTML) $array =_StringBetween($sHTML,'<td style="">','</td>') MsgBox(64,"danke I3iLLiG!!!", $array[0]) MsgBox(64,"danke I3iLLiG!!!", $array[1]) MsgBox(64,"danke I3iLLiG!!!", $array[2]) MsgBox(64,"danke I3iLLiG!!!", $array[3]) |
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »smaXer« (17. April 2009, 16:37)
|
|
Quellcode
|
1 |
[autoit][/autoit] |

|
|
AutoIt-QuellCode
|
1 |
$sHTML = Stringlower(_IEBodyReadHTML ($oIE)) |
aba ohne den original quellcode kann ich dir net helfen...
.|
|
AutoIt-QuellCode
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
#include <GUIConstantsEx.au3> #include <ie.au3> #include <array.au3> #include <String.au3> Func OnYes() local $email, $pw, $oIE, $oUsername, $oPasswd, $oForm, $sHTML, $array $email = InputBox("VEsports Bot 0.1b","E-mail:") $pw = InputBox("VEsports Bot 0.1b","Password:") $oIE = _IECreate ("http://vesports.4players.de/news.php") _IELoadWait($oIE) $oForm = _IEFormGetObjByName($oIE, 1) $oUsername = _IEFormElementGetObjByName($oForm, 0) _IEFormElementSetValue($oUsername, $email) $oPasswd = _IEFormElementGetObjByName($oForm, 1) _IEFormElementSetValue($oPasswd, $pw) _IEFormSubmit($oForm) _IELoadWait($oIE) $oIE = _IECreate ("http://vesports.4players.de/hardware.php",1,1) $sHTML = Stringlower(_IEBodyReadHTML ($oIE)) $sHTML = $sHTML & "<p><font color=red size=+5>Big RED text!</font>" _IEBodyWriteHTML ($oIE, $sHTML) $array =_StringBetween($sHTML,'<td style="">','</td>') MsgBox(64,"danke I3iLLiG!!!", $array[0]) MsgBox(64,"danke I3iLLiG!!!", $array[1]) MsgBox(64,"danke I3iLLiG!!!", $array[2]) MsgBox(64,"danke I3iLLiG!!!", $array[3]) EndFunc |
Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »smaXer« (17. April 2009, 17:17)
|
|
AutoIt-QuellCode
|
1 |
$oIE = _IECreate ("http://vesports.4players.de/hardware.php",1,1) |
|
|
AutoIt-QuellCode
|
1 |
_IENavigate($oIE, "http://vesports.4players.de/hardware.php") |

|
|
AutoIt-QuellCode
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
#include <string.au3> $a = '<td style="">0</td>' $b = '<td style="">' $c = '</td>' $array = _StringBetween($a,$b,$c) If Not @error Then MsgBox(0,"",$array[0]) Else MsgBox(0,"","Zeichenkette nicht gefunden") EndIf $a = 'Leider nix zu finden da' $b = '<td style="">' $c = '</td>' $array = _StringBetween($a,$b,$c) If @error Then MsgBox(0,"","Zeichenkette nicht gefunden") Else MsgBox(0,"",$array[0]) EndIf $a = 'immer noch nix zu finden ^^' $b = '<td style="">' $c = '</td>' $array = _StringBetween($a,$b,$c) ; Und hier mal mit dem provozierten Fehler MsgBox(0,"",$array[0]) |
Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »Dschingis« (19. April 2009, 17:11)
Hits heute: 591 | Hits Tagesrekord: 19 503 | Hits gesamt: 993 601 | Hits pro Tag: 2 116,46

