mach dir doch ein script, das dir alle x minuten x stunden oder tage einen screenshot an ne mail addy schickt...
alternative.
programmier dir nen server + Client der die screenshot in x time macht und sie dann auf deinen pc schickt...
mach dir doch ein script, das dir alle x minuten x stunden oder tage einen screenshot an ne mail addy schickt...
alternative.
programmier dir nen server + Client der die screenshot in x time macht und sie dann auf deinen pc schickt...
poste mal wie die fertige excel-tabelle aussehen soll!
machst du mit der excel-Tabelle noch etwas?
ich würde es so mache...
[autoit]#include "WebTcp.au3"
#include <Array.au3>
TCPStartup()
_AutoITObject_Startup()
Global $oWebTcp = _WebTcp_Create()
$url= "" ; hier deine url eintragen zwischen ""
$oWebTcp.Navigate($url)
;$oWebTcp.Navigate("") ; alternative zu oben
ClipPut($oWebTcp.body) ; schreibt Seitenquellcode in die windows zwischenablage
msgbox(64,"Quellcode","in Zwischenablage") ; msgbox
$quellcode= $oWebTcp.body ; schreibt Seitenquellcode in die variable $quellcode
$login=StringRegExp($oWebTcp.body,"",3); im quellcode nach irgendwas suchen
_AutoITObject_Shutdown()
TCPShutdown()
hier gibt es die udf...
http://www.autoitbot.de/board3-coding-bereich-autoit-bot-community/board31-scripte/board34-udf-s/3828-webtcp/
hier noch ein tutorial für webtcp
http://www.autoitbot.de/board3-coding-bereich-autoit-bot-community/board4-tutorials/board43-autoit/5349-webtcp-tutorial/
und hier noch ein tutorial über Stringregex
StringRegExp Tutorial / Reguläre Ausdrücke in AutoIt
[autoit] ZitatDa ich keine Lust habe das für ca. 100 Stück davon zu machen, wollte ich euch fragen ob ihr eine Idee habt, wie ich das besser und kürzer machen könnte.
$file = FileOpen("test.txt", 1)
[/autoit][autoit][/autoit][autoit]; Prüfen, ob Datei im Schreibmodus geöffnet ist
If $file = -1 Then
MsgBox(0, "Fehler", "Die Datei konnte nicht geöffnet werden.")
Exit
EndIf
$1='if $read = "24/7 '
$2='" then'
$3=' $read = "247"'
$4='endif'
for $i =1 to 100
FileWrite($file, $1&$i&$2& @CRLF)
FileWrite($file,$3& @CRLF)
FileWrite($file,$4& @CRLF)
next
Guten Morgen zusammen ich komme bei meinem script nicht mehr weiter.
um diesen Codeteil handelt es sich:
$CountLines = _FileCountLines(@ScriptDir & '\ausgabe.txt')
$doppeltentf = FileOpen("ausgabe.txt", 0)
If $doppeltentf = -1 Then
MsgBox(0, "Fehler", "Die Datei konnte nicht geöffnet werden.")
Exit
EndIf
ToolTip($CountLines,600,500)
Sleep(2000)
For $i= 1 to $CountLines
$einlesen = FileReadLine($doppeltentf)
ToolTip($einlesen,500,500)
Sleep(2000)
for $j = 2 to $CountLines
$einlesen2 = FileReadLine($doppeltentf)
ToolTip($einlesen2,700,500)
Sleep(2000)
next
Next
FileClose($doppeltentf)
Alles anzeigen
Die erste schleife mit $i wird ausgeführt und im Tooltip ausgeben.
Dann geht es in die zweit schleife ($j) . Ist er mit der $j fertig, ist das programm beendet. Er soll aber bei der $i weiter machen.
wo habe den denkfehler?
was der code später können soll:
die Doppelten Zeilen in einer Txt löschen.
thx SEuBo... jetzt klappt es endlich...
ich hatte alles mögliche probiert aber das nicht.. vielen Dank nochmal
also ich hab das jetzt noch mal mti dem code probiert:
[autoit]$oForm2 = _IEFormGetCollection($oIE,0)
[/autoit][autoit][/autoit][autoit]$oSubmit = _IEFormElementGetObjByName($oForm2,"senden")
_IEAction($oSubmit,"click")
leider geht das auch nicht. Ich hab vielleicht vergessen zu sagen, das ich auf das zweite formular auf den buten senden klicken mus...
hier noch mal die zwei formulare im quellcode:
<td height="25" align="center">
<FORM NAME="composeform" ACTION="/index.php?ModuleID=email&ContentID=sent&MenuMode=1&Aktion=Edit" method="POST">
<input type="hidden" name="Aktion" value="Finish">
<input type="hidden" name="step" value="1">
<input type="hidden" name="Body" value="TmEgZmxvIHdhcyBoYXN0ZSBkZW4gZ2VzdGVybiBhYmVuZCBzbyBnZW1hY2h0PyB3YXJzdCBkdSBhdWNoIGluIG5lciBkaXNrbz8uLi4=">
<input type="hidden" name="to" value="kramer.flo@web.de">
<input type="hidden" name="cc" value="">
<input type="hidden" name="subject" value="hey kerle">
<input type="hidden" name="bcc" value="">
<input type="hidden" name="ses_id" value="">
<input type="hidden" name="anzahl" value="">
<input type="hidden" name="absend" value="">
<input type="hidden" name="how2send" value="">
<input name="bearbeiten" type="submit" src="pics/blank.gif" border="0" value=" eMail bearbeiten " width="40px" height="22px" class="Button">
</form>
</td>
<td align="center">
<FORM NAME="composeform" ACTION="/index.php?ModuleID=email&ContentID=sent&MenuMode=1" method="POST">
<input type="hidden" name="Aktion" value="Finish">
<input type="hidden" name="Look4Mail" value="ABcDE">
<input type="hidden" name="MailStep" value="12">
<input type="hidden" name="Body" value="TmEgZmxvIHdhcyBoYXN0ZSBkZW4gZ2VzdGVybiBhYmVuZCBzbyBnZW1hY2h0PyB3YXJzdCBkdSBhdWNoIGluIG5lciBkaXNrbz8uLi4=">
<input type="hidden" name="to" value="kramer.flo@web.de">
<input type="hidden" name="cc" value="">
<input type="hidden" name="subject" value="hey kerle">
<input type="hidden" name="bcc" value="">
<input type="hidden" name="ses_id" value="">
<input type="hidden" name="anzahl" value="">
<input type="hidden" name="absend" value="">
<input type="hidden" name="how2send" value="">
<input name="senden" type="submit" src="pics/blank.gif" border="0" value=" eMail senden " width="40px" height="22px" class="Button">
</form>
</td>
Alles anzeigen
Guten Morgen,
ich brauche eure hilfe beim klicken eines "sende" button bei einer Email-Weboberfläche.
Quellcode der seite:
<html> <head> <title>myfun - Ihr Portal für Rabatte, Gutscheine, Preisvergleiche, Bonusaktionen, Payback und Grusskarten. Alles Kostenlos.</title> <meta name="description" content="myfun"> <meta name="author" content="AD OptiMax"> <meta name="keywords" lang="de" content="Rabatte, Gutscheine, Preisvergleiche, Bonusaktionen, Grußkarten, Grusskarten, eMail, Mail, mailen, Bundesliga, Fussball, Single, Freunde, finden, Urlaub, Resien, Ferien, PayBack, Webmiles "> <meta name="date" content="2009-04-30"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta name="robots" content="index,follow"> <meta name="revisit-after" content="10 days"> <link href="mysc.css" rel=stylesheet type="text/css"> </head> <script language="JavaScript"> <!-- function AddressWindow(toccbcc) { var url = "libraries/modules/adress/addressbook.php?where=" + toccbcc; var hWnd = window.open(url,"HelpWindow","width=520,height=360,resizable=yes,scrollbars=yes"); if (!hWnd.opener) hWnd.opener = self; } function delete_anhang(){ document.composeform.method = "post"; document.composeform.action = "/index.php?ModuleID=email&ContentID=sent&MenuMode=1&Aktion=Attach&DeleteAttach=TRUE"; } function change_message(){ document.composeform.method = "post"; document.composeform.action = "/index.php?ModuleID=email&ContentID=sent&MenuMode=1&Aktion=MailSwitch"; } //--> </script> <script language="JavaScript"> <!-- if (((navigator.appName == "Netscape") && (parseInt(navigator.appVersion.substring(0,1)) >=3)) || ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion.substring(0,1)) >=4))) { var version=true } function OpenWindowHELP(URL,wdwName,w,h,x,y) { if (!wdwName) {wdwName = "msgWindow";} if (!x) {x = 50;} if (!y) {y = 50;} if (!w) {w = 540;} if (!h) {h = 400;} var param = "screenX=" +x+ ",screenY=" +y+ ",width=" +w+ ",height=" +h+ ",resizable=yes,scrollbars=yes"; var myWindow = window.open(URL,wdwName,param); if (!myWindow.opener) myWindow.opener = self; if (myWindow.focus != null) myWindow.focus(); } //--> </SCRIPT> <body leftmargin="0" topmargin="1" marginwidth="0" marginheight="0"> <table width="1000" height="600" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td height="100" colspan="3" background="pics/bg_oben.jpg" class="TextGrau10"> <table width="1000" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="250" height="100" background="pics/sc_top_left.jpg" align="left" valign="top"> </td> <td width="750" height="100" align="center" valign="middle" background="pics/sc_top_right.jpg"> <iframe id='a781b924' name='a781b924' src='http://www.mysc.at/ads281/www/delivery/afr.php?resize=0&zoneid=7&target=_blank&cb=65148755' framespacing='0' frameborder='no' scrolling='no' width='728' height='90' allowtransparency='true'> <a href='http://www.mysc.at/ads281/www/delivery/ck.php?n=a670f68a&cb=1699600434' target='_blank'> <img src='http://www.mysc.at/ads281/www/delivery/avw.php?zoneid=7&cb=878524496&n=a670f68a' border='0' alt='' /></a> </iframe> </td> </tr> </table> </td> </tr> <tr> <td height="37" colspan="3" background="pics/top_middle.jpg"> <table width="1000" border="0" align="right" cellpadding="0" cellspacing="0"> <tr> <td width="149" height="35"> </td> <td height="35" class="TextBlau" valign="middle"> </td> <td width="304" height="35" class="TextBlau"> </td> </tr> </table> </td> </tr> <tr> <td height="680" width="154" align="center" valign="top" class="HGBottomNew"> <table width="148 border="1" align="center" cellspacing="0" cellpadding="0"> <tr><td height="16"><img src="pics/blank.gif" width="5" height="16"></td></tr> <tr><td height="25" class="TbHG00"> myfun HomeOffice</td></tr> <tr><td height="22" class="MenuItem"><a href="/index.php?ModuleID=start&ContentID=start&MenuMode=0" class="NAVU"> · zur Startseite</a></td></tr> <tr><td height="16"><img src="pics/blank.gif" width="5" height="16"></td></tr> <tr><td height="25" class="TbHG00"> Ihr eMail</td></tr> <tr><td height="22" class="MenuItem"><a href="/index.php?ModuleID=email&ContentID=postfach&MenuMode=1" class="NAVU"> · Postfach</a></td></tr> <tr><td height="22" class="MenuItem"><a href="/index.php?ModuleID=email&ContentID=posteingang&MenuMode=1" class="NAVU"> · Posteingang</a></td></tr> <tr><td height="22" class="MenuItem"><a href="/index.php?ModuleID=email&ContentID=ordner&MenuMode=1" class="NAVU"> · Ihre Ordner</a></td></tr> <tr><td height="16"><img src="pics/blank.gif" width="5" height="16"></td></tr> <tr><td height="25" class="TbHG00"> neue eMail</td></tr> <tr><td height="22" class="MenuItem"><a href="/index.php?ModuleID=email&ContentID=sent&MenuMode=1" class="NAVU"> · eMail senden</a></td></tr> <tr><td height="16"><img src="pics/blank.gif" width="5" height="16"></td></tr> <tr><td height="25" class="TbHG00"> Verwaltung</td></tr> <tr><td height="22" class="MenuItem"><a href="/index.php?ModuleID=email&ContentID=setting&MenuMode=1" class="NAVU"> · Einstellungen</a></td></tr> <tr><td height="22" class="MenuItem"><a href="/index.php?ModuleID=email&ContentID=adress&MenuMode=1" class="NAVU"> · Adressbuch</a></td></tr> <tr><td height="16"><img src="pics/blank.gif" width="5" height="16"></td></tr> <tr><td height="25" class="TbHG00"> Auszahlung & Bank</td></tr> <tr><td height="22" class="MenuItem"><a href="/index.php?ModuleID=email&ContentID=konto&MenuMode=1" class="NAVU"> · Ihr Kontostand</a></td></tr> <tr><td height="22" class="MenuItem"><a href="/index.php?ModuleID=email&ContentID=refs&MenuMode=1" class="NAVU"> · Ihre Referals</a></td></tr> <tr><td height="22" class="MenuItem"><a href="/index.php?ModuleID=email&ContentID=bank&MenuMode=1" class="NAVU"> · Bankverbindung</a></td></tr> <tr><td height="22" class="MenuItem"><a href="/index.php?ModuleID=email&ContentID=zahlung&MenuMode=1" class="NAVU"> · Auszahlung</a></td></tr> <tr><td height="16"><img src="pics/blank.gif" width="5" height="16"></td></tr> <tr><td height="25" class="TbHG04"> myfun Helpdesk</td></tr> <tr><td height="22" class="MenuItem"><a href="/index.php?ModuleID=email&ContentID=error&MenuMode=1" class="NAVU"> · Fehler melden</a></td></tr> <tr><td height="22" class="MenuItem"><a href="/index.php?ModuleID=email&ContentID=help&MenuMode=1" class="NAVU"> · Hilfe</a></td></tr> <tr><td height="22" class="MenuItem"><a href="/index.php?ModuleID=email&ContentID=agb&MenuMode=1" class="NAVU"> · Spielregeln</a></td></tr> <tr><td height="22" class="MenuItem"><a href="/index.php?ModuleID=logout&ContentID=logout&MenuMode=0" class="NAVU"> · LogOUT</a></td></tr></table><br><br> </td> <td height="680" width="686" align="center" valign="top" background="pics/bg_mitte.jpg"> <table width="686" border="0" align="left" cellpadding="0" cellspacing="0"> <tr> <td width="686" align="center" valign="top" class="HGCenter"> <img src="pics/blank.gif" width="5" height="10" border="0"> <table width="680" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td> <table width="670" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td class="TbHG00" height="25"> <b> eMail Vorschau</b></td> </tr> <tr> <td width="670" valign="top" class="HGTableBox"> <table border="0" width="670" cellspacing="0" cellpadding="3" align="left"> <tr> <td class="TextBlau"> <table width="660" border="0" cellspacing="0" cellpadding="5" align="center"> <tr> <td> <table width="610" border="0" cellpadding="5" cellspacing="5" class="TbHGBorder"> <tr> <td colspan="2"> <table width="590" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="80" height="25" class="TextBlau"> An :</td> <td class="TextBlau">kramer.flo@web.de</td> </tr> <tr> <td width="15%" height="25" class="TextBlau"> Betreff :</td> <td class="TextBlau">good morning</td> </tr> </table> </td> </tr> <tr> <td colspan="2" class="TasteLogin">guten Morgen flöhle... na kann der Herr schon wach sein? heute ist es bei mir bissl früher da ich noch den felix abholen muss...</td> </tr> <tr> <td height="25" align="center"> <FORM NAME="composeform" ACTION="/index.php?ModuleID=email&ContentID=sent&MenuMode=1&Aktion=Edit" method="POST"> <input type="hidden" name="Aktion" value="Finish"> <input type="hidden" name="step" value="1"> <input type="hidden" name="Body" value="Z3V0ZW4gTW9yZ2VuIGZs9mhsZS4uLiBuYSBrYW5uIGRlciBIZXJyIHNjaG9uIHdhY2ggc2Vpbj8gaGV1dGUgaXN0IGVzIGJlaSBtaXIgYmlzc2wgZnL8aGVyIGRhIGljaCBub2NoIGRlbiBmZWxpeCBhYmhvbGVuIG11c3MuLi4="> <input type="hidden" name="to" value="kramer.flo@web.de"> <input type="hidden" name="cc" value=""> <input type="hidden" name="subject" value="good morning"> <input type="hidden" name="bcc" value=""> <input type="hidden" name="ses_id" value=""> <input type="hidden" name="anzahl" value=""> <input type="hidden" name="absend" value=""> <input type="hidden" name="how2send" value=""> <input name="bearbeiten" type="submit" src="pics/blank.gif" border="0" value=" eMail bearbeiten " width="40px" height="22px" class="Button"> </form> </td> <td align="center"> <FORM NAME="composeform" ACTION="/index.php?ModuleID=email&ContentID=sent&MenuMode=1" method="POST"> <input type="hidden" name="Aktion" value="Finish"> <input type="hidden" name="Look4Mail" value="ABcDE"> <input type="hidden" name="MailStep" value="12"> <input type="hidden" name="Body" value="Z3V0ZW4gTW9yZ2VuIGZs9mhsZS4uLiBuYSBrYW5uIGRlciBIZXJyIHNjaG9uIHdhY2ggc2Vpbj8gaGV1dGUgaXN0IGVzIGJlaSBtaXIgYmlzc2wgZnL8aGVyIGRhIGljaCBub2NoIGRlbiBmZWxpeCBhYmhvbGVuIG11c3MuLi4="> <input type="hidden" name="to" value="kramer.flo@web.de"> <input type="hidden" name="cc" value=""> <input type="hidden" name="subject" value="good morning"> <input type="hidden" name="bcc" value=""> <input type="hidden" name="ses_id" value=""> <input type="hidden" name="anzahl" value=""> <input type="hidden" name="absend" value=""> <input type="hidden" name="how2send" value=""> <input name="senden" type="submit" src="pics/blank.gif" border="0" value=" eMail senden " width="40px" height="22px" class="Button"> </form> </td> </tr> </table> </td> </tr> </table> </td> </tr> </table> </td> </tr> </table> </td> </tr> </table> <br><br> <br> <table width="680" border="0" align="left" cellpadding="3" cellspacing="0"> <tr> <td width="680" align="left" class="SmallSize"> <strong>Unsere Partnerseiten:</strong> </td> </tr> <tr> <td width="680" align="left" class="TextBlauKL"> <a href="http://www.euro-spar24.de" target="_blank" class="NavuKL">Euro-Spar24</a> <a href="http://www.eurospar24.de" target="_blank" class="NavuKL">EuroSpar24</a> <a href="http://www.euro-kauf24.de" target="_blank" class="NavuKL">Euro-Kauf24</a> <a href="http://www.euro-markt24.de" target="_blank" class="NavuKL">Euro-Markt24</a> <a href="http://www.das-blumen-laedchen.de" target="_blank" class="NavuKL">BlumenLädchen</a> <a href="http://www.cooletrends.com" target="_blank" class="NavuKL">CooleTrends</a> <a href="http://www.preishit24.com" target="_blank" class="NavuKL">PreisHit24</a> <a href="http://www.mysc.de" target="_blank" class="NavuKL">mysc.de</a> <a href="http://www.mysc.at" target="_blank" class="NavuKL">mysc.at</a> <a href="http://www.mysc.biz" target="_blank" class="NavuKL">mysc.biz</a> <a href="http://www.mysc.info" target="_blank" class="NavuKL">mysc.info</a> <a href="http://www.my-sc.de" target="_blank" class="NavuKL">my-sc.de</a> <a href="http://www.my-sc.at" target="_blank" class="NavuKL">my-sc.at</a> <a href="http://www.myfun24.de" target="_blank" class="NavuKL">my-sc.eu</a> <a href="http://www.my-sc.eu" target="_blank" class="NavuKL">myfun.at</a> <a href="http://www.my-fun.at" target="_blank" class="NavuKL">my-fun.at</a> <a href="http://www.myfun24.de" target="_blank" class="NavuKL">myfun24.de</a> <a href="http://www.myfun24.at" target="_blank" class="NavuKL">myfun24.at</a> <a href="http://www.my-fun24.de" target="_blank" class="NavuKL">my-fun24.de</a> <a href="http://www.myfun24.de" target="_blank" class="NavuKL">my-fun24.at</a> <a href="http://www.my-fun24.at" target="_blank" class="NavuKL">myfun-24.de</a> <a href="http://www.myfun-24.at" target="_blank" class="NavuKL">myfun-24.at</a> <a href="http://www.meriano.de" target="_blank" class="NavuKL">meriano.de</a> <a href="http://www.meriano.at" target="_blank" class="NavuKL">meriano.at</a> </td> </tr> </table> <br> </td> </tr> </table> </td> <td height="680" width="160" align="center" valign="top" class="HGLeft"><img src="pics/blank.gif" width="10" height="15"> <br> <table width="160" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td width="160" height="610" align="center" valign="top"> <iframe id='ac81bb90' name='ac81bb90' src='http://www.mysc.at/ads281/www/delivery/afr.php?resize=0&zoneid=9&target=_blank&cb=1573661469' framespacing='0' frameborder='no' scrolling='no' width='160' height='600' allowtransparency='true'> <a href='http://www.mysc.at/ads281/www/delivery/ck.php?n=a8a0bd05&cb=69301401' target='_blank'> <img src='http://www.mysc.at/ads281/www/delivery/avw.php?zoneid=9&cb=897102651&n=a8a0bd05' border='0' alt='' /></a> </iframe> </td> </tr> </table> </td> </tr> <tr> <td height="25" colspan="3" class="HGBottom"> Copyright © 2008 AD OptiMax</td> </tr> </table>
Übersicht der Formulare im anhang als jpg
mein code für den Button sieht so aus:
[autoit]
$oIE=_IECreate("http://mysc.de",0)
$oForm1 = _IEFormGetCollection($oIE,0)
_IEFormSubmit($oForm1,"senden")
leider geht das bei dem quellcode von oben nicht.