Jump to content

Read Multiple Lines In Txt


Recommended Posts

I can do that... But if your helpfile doesn't work you may want to do a fresh reinstall of AutoIt...

#include <file.au3>
Dim $aRecords
If Not _FileReadToArray("error.log",$aRecords) Then
   MsgBox(4096,"Error", " Error reading log to Array     error:" & @error)
   Exit
EndIf
For $x = 1 to $aRecords[0]
    Msgbox(0,'Record:' & $x, $aRecords[$x])
Next
Link to comment
Share on other sites

I can do that... But if your helpfile doesn't work you may want to do a fresh reinstall of AutoIt...

#include <file.au3>
Dim $aRecords
If Not _FileReadToArray("error.log",$aRecords) Then
   MsgBox(4096,"Error", " Error reading log to Array     error:" & @error)
   Exit
EndIf
For $x = 1 to $aRecords[0]
    Msgbox(0,'Record:' & $x, $aRecords[$x])
Next
Thanks, but I've tried that a couple times. Its a problem from ie.
Link to comment
Share on other sites

Then I guess you're stuck with this...

Although there's surely got to be a reason for why it doesn't work... I would think that would really hinder you to not have that handy to reference.

*Edit - Looks like that doesn't include UDFs though, (like _FileReadToArray)

Edited by exodius
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...