I have some software that constantly puts information in a txt file that I want to process using AHK.
Code: Select all
FileDelete, Filtered.txt
Loop, Read, log.txt, Filtered.txt
{
Loop, Parse, A_LoopReadLine, %A_Space%
{
FileAppend, %A_LoopField%`n, Filtered.txt
}
}
My question is: How can I adjust this code so it processes the constent stream of information and deletes already processed information?
A firefox add-on (HTTP request logger) I have running constantly puts all http requests into the log.txt. Can AHK and Firefox simultaneously edit and read the txt file?