AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CMDret - AHK functions
Goto page Previous  1, 2, 3 ... 11, 12, 13
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
rocknrollgolfer



Joined: 03 Oct 2009
Posts: 8

PostPosted: Sat Dec 19, 2009 9:32 pm    Post subject: Reply with quote

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
View user's profile Send private message
RandomHeart



Joined: 24 Mar 2009
Posts: 11

PostPosted: Sat Dec 19, 2009 9:33 pm    Post subject: Reply with quote

corrupt

for example this:

cat C:\samplefile.txt|grep test

Smile
Back to top
View user's profile Send private message
Tom
Guest





PostPosted: Mon Dec 21, 2009 3:12 pm    Post subject: Reply with quote

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 Smile
Back to top
Tom
Guest





PostPosted: Mon Dec 21, 2009 3:14 pm    Post subject: Reply with quote

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 Smile
Back to top
Tom
Guest





PostPosted: Mon Dec 21, 2009 3:14 pm    Post subject: Reply with quote

sorry for the double post !!
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Goto page Previous  1, 2, 3 ... 11, 12, 13
Page 13 of 13

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group