Jump to content

How do I open a file in AutoIt v3 and read its contents?


Recommended Posts

Does anyone have an example of opening a file and reading the contents of the file in AutoIt v3 ?

yes, it's in the help file. FileRead().

__________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *

Link to comment
Share on other sites

  • Moderators

I need to open a file and read the contents and send them to a control in an executable, is it possible?

Look at $CmdLine in the help file.

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 need to open a file and read the contents and send them to a control in an executable, is it possible?

Yes. FileRead(). Why don't you read the help file and have a look at the sample scripts for FileRead(). Also see ControlSend().

__________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *

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