Jump to content

Recommended Posts

Posted

I have programming experience but am new with autoit. I was wondering how I could use the file functions to open a text file, and have it look for a certain string within the last 50 lines (its a huge text file that constantly updates).

Posted

I have programming experience but am new with autoit. I was wondering how I could use the file functions to open a text file, and have it look for a certain string within the last 50 lines (its a huge text file that constantly updates).

Take a look at these functions in the helpfile:
  • FileRead()
  • _FileReadToArray ()
  • For Loops
  • Ubound
That should get you started.
Posted

Also

FileReadLine()

8)

this is the function I had concentrated my effort on before posting. How can I find out how many lines long the file is?
Posted

this is the function I had concentrated my effort on before posting. How can I find out how many lines long the file is?

#include <File.au3>

_FileCountLines ( $sFilePath )

8)

NEWHeader1.png

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
×
×
  • Create New...