Jump to content

Running Off Text file?


Recommended Posts

I'm sure that there is something like this out there, that runs autoit.

Basically, autoit loads & executes all of the coding in a text file.

I searched: 'running text file script", if this was searched before, or and other keywords I should search let me know.

-- Basically

I want to be able to have code in a text file (that uses autoit syntax), and an autoit program executes everything on that text file.

So...

Sleep(1000)
Msgbox(0, 0, 0)

that's in the text file, and the program (when executed)

Sleeps for 1000ms

Then msgboxs no flag, 0 as title, 0 as message.

Link to comment
Share on other sites

Link to comment
Share on other sites

There are a number of parser scripts. I can't recommend you to any as I haven't used them but they are floating around.

The better solution, if possible, is to call the AutoIt executable with /au3executescript.

How would I go upon doing that, I didn't find anything in the help file concerning /au3executescript...

After searching and looking through 11 pages or so, I've only seen like html,php,other parsers (which parsed like personal information?)

I want to be able to write autoit code in a text fie and have it executed, so I guess _FileReadToArray & Execute seem like my best shot.

Edited by igotandrew
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...