Sign in to follow this  
Followers 0
Frit

Import from text

4 posts in this topic

#1 ·  Posted (edited)

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

Share this post


Link to post
Share on other sites



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.

Share this post


Link to post
Share on other sites

What is /AutoIt3ExecuteScript ?

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

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

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.

Share this post


Link to post
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
Sign in to follow this  
Followers 0