Autoit And Teraterm Pro?
#1
Guest_Rombus_*
Posted 02 April 2004 - 08:54 PM
#2
Posted 02 April 2004 - 09:03 PM
Say you copy this to clipboard:
then you could use this to get each subject line:From: EarthLink High Speed Internet Team <dslsales@earthlink.net>
Subject: EarthLink High Speed Internet -- 6 Months for $29.95 per Month!**
Date: Fri, 19 Mar 2004 05:48:57 PDT
X-Accept-Language: en
MIME-Version: 1.0
Content-Type: multipart/alternative;
types="text/plain,text/html";
From: EarthLink High Speed Internet Team <dslsales@earthlink.net>
Subject: All the spam you can handle -- 6 Months for $19.95 per Month!**
Date: Fri, 19 Mar 2004 05:48:57 PDT
X-Accept-Language: en
MIME-Version: 1.0
Content-Type: multipart/alternative;
types="text/plain,text/html";
$everything=clipget() while 1 if StringInstr($everything,"Subject: ")=0 then ExitLoop $len=StringInstr($everything,"Subject: ")+9 $line=StringMid($everything,$len,StringInStr($everything,"Date: ")-$len-1) MsgBox(1,"subject",$line) $everything=StringTrimLeft($everything,StringInstr($everything,"Date: ")) wend
You can do similar things to get from a file, and I used the "Date: " to seperate, but you could use the end of line or whatever your fancy.
#3
Guest_Rombus_*
Posted 02 April 2004 - 09:11 PM
#4
Posted 02 April 2004 - 09:19 PM
Can you use a commandline to output that into a text file?
AutoIt doesn't read Dos windows too well, so normally you output the info to a text file, read it, and delete the temporary text file. ex:
RunWait("cmd /c net view >computers.txt","",@SW_HIDE)
once in a text file, automation is easy.
#5
Posted 02 April 2004 - 09:22 PM
send("!{space}es{enter}")
You may want to set the command window buffer to something greater than 25 if there is a lot of text in reply
#6
Posted 02 April 2004 - 09:41 PM
I forgot about that. It should work nice on WinNT based DOS windows. Win98/95/ME don't work so well.
I need to remember that.
In that case, 99% sure it can all be automated
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users





