dixonhill   02-05-2015, 07:23 AM
#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?
Snarg   02-05-2015, 12:12 PM
#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.
Snarg   02-05-2015, 12:15 PM
#3
Oh, wait! Try this:
Code:
RunWait(@COMSPEC &" /C CLS",@WORKINGDIR,@SW_HIDE)


I got that line of code from here.
dixonhill   02-06-2015, 05:12 PM
#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.
  
Users browsing this thread:
Konloch Software - Bytecode Viewer - Reverse Engineering Forum
Copyright © 2014-2025 The Bytecode Club. Powered By MyBB.
CC0 Unless Specified Otherwise.