Jump to content

Import from text


Frit
 Share

Recommended Posts

Hello, ppl!

I want a little help with something i'm programming right now.

Here it is: i made a code to store lines in a text. These lines are au3 codes like "send("test")" and I have stored them with FileWriteLine. Until here, it's all right.

Now, I want to take all the lines in the .txt and play them as command lines in my script when a button is pressed, something like that:

If $msg = $button then
"lines of the .txt file"
endif

Is this even possible? Help please ;P

Edited by Frit
Link to comment
Share on other sites

  • Moderators

If I'm understanding you, FileWrite+/AutoIt3ExecuteScript should do it.

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

  • Moderators

What is /AutoIt3ExecuteScript ?

I can't find it at the help file :S

Download the 3.2.2.0 release version if you don't have it already.

Open the help file

Search Tab

Type in: AutoIt3ExecuteScript

Click List Topics

Edited by SmOke_N

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

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