Jump to content

getting .txt contents


lopolop
 Share

Recommended Posts

  • Moderators

Have you looked at FileRead() and _FileReadToArray() in the help file?

Also, this >> Answer to most questions << should help in most of the questions you ask.

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
Share on other sites

i'm not a retard.... i use the help 24/7 but the fileread u need a count right.. what if i dont know the count like i want everything

one thing that i use alot when i want to do what you're wanting to do is:

$Text  = FileRead("C:\text.txt",FileGetSize("C:\text.txt"))

that reads the entire file to a variable that you can then display or manipulate at your discretion

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...