Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Onscreen console buffer limits
#1
I have been playing with this code quite a bit, recently adding remote functions to safari46's excellent modded 5.4.2.5.1 version.

I found a bug that I need help from more experienced AutoIT devs with - the console window eventually stops logging (even though the log files still get touched), probably because of the max buffer controlled by the system.  Does anyone know how to mitigate that, or just restart the bot every so often?
Reply
#2
I found two articles that might help:


This one is AutoIt specific: http://www.autoitscript.com/forum/topic/...le-output/

This one is from Microsoft: http://support.microsoft.com/kb/99261

I would be interested in knowing if you get it to work.
Reply
#3
Oh, wait! Try this:
Code:
RunWait(@COMSPEC &" /C CLS",@WORKINGDIR,@SW_HIDE)


I got that line of code from here.
Reply
#4
Thanks, Snarg.  Actually, I built up the solution already.  I'll post the code tomorrow, but basically it uses an arbitrary buffer amount to delete lines from the start of the text in the Edit control as the amount of chars passes the given threshold.
Reply
 


Forum Jump:


Users browsing this thread: 1 Guest(s)

About The Bytecode Club

We're a community forum focused on Reverse Engineering, we try to target Java/Android but we also include other langauges/platforms. We pride ourselves in supporting and free and open sourced applications.

Website