 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
rocknrollgolfer
Joined: 03 Oct 2009 Posts: 8
|
Posted: Sat Dec 19, 2009 9:32 pm Post subject: |
|
|
Well, I've actually had no problems with the RTconsole.exe stub missing characters, and the cmdstub.exe stub seems more stable than that stub and has no issues either. I do some filtering so I only see the packets I want to see which means I'm not bombarding the stub with every packet the computer gets.
I gave a weak attempt at using the dll version, but I could never find a good example of using it to read a streaming program. Packet reading means the program never ends and most of the examples are for reading program output where the program stops. Then the pipe closes and flushes and everyone is happy. There were some examples, but I'm not enough of a programmer to figure out what else I may need to incorporate to get it to work. So I worked off the streaming examples for this version and was able to finally find a useable solution to reading the packets in real time by using the stub program. |
|
| Back to top |
|
 |
RandomHeart
Joined: 24 Mar 2009 Posts: 11
|
Posted: Sat Dec 19, 2009 9:33 pm Post subject: |
|
|
corrupt
for example this:
cat C:\samplefile.txt|grep test
 |
|
| Back to top |
|
 |
Tom Guest
|
Posted: Mon Dec 21, 2009 3:12 pm Post subject: |
|
|
Hi
Not user if this is the right script for me.. but here goes.
I want to telnet in to a router, send my username and then capture the output from the session to a var so I can manipulate it.
I can sort the logging in, the sending of the username, it the capture I can't do.
The stream the router submits is constant, so it is always changing.
I need to be able to detect any new lines and find specific wording on those lines.
Any ideas ?
Thanks  |
|
| Back to top |
|
 |
Tom Guest
|
Posted: Mon Dec 21, 2009 3:14 pm Post subject: |
|
|
Hi
Not user if this is the right script for me.. but here goes.
I want to telnet in to a router, send my username and then capture the output from the session to a var so I can manipulate it.
I can sort the logging in, the sending of the username, it the capture I can't do.
The stream the router submits is constant, so it is always changing.
I need to be able to detect any new lines and find specific wording on those lines.
Any ideas ?
Thanks  |
|
| Back to top |
|
 |
Tom Guest
|
Posted: Mon Dec 21, 2009 3:14 pm Post subject: |
|
|
| sorry for the double post !! |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|