Sign in to follow this  
Followers 0
tarre

read .txt files with .exe file

3 posts in this topic

hey i wonder if its possible to include some autoit code in a .txt file to an .exe file? like

the .exe reads the text.txt data

text.txt
while 1
send("asd")
wend

The .exe file
Func readtxt()
SomeThingHereShouldREadTheTextFile.txt
endfunc

Share this post


Link to post
Share on other sites



@tarre...I have no clue what you want todo. Please be more clear and see the help file for FileRead* functions.

Share this post


Link to post
Share on other sites

hey i wonder if its possible to include some autoit code in a .txt file to an .exe file? like

the .exe reads the text.txt data

text.txt
while 1
send("asd")
wend

The .exe file
Func readtxt()
SomeThingHereShouldREadTheTextFile.txt
endfunc
Are you talking about putting your AutoIT code into a .txt file and then reading it in from that text file when it needs to be executed?This will not be possible as the text read from the .txt file will not be treated as AutoIT code, not compiled and thus not executed. Why would you want to do this??

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