Sign in to follow this  
Followers 0
gcue

fileopen - not working with a txt file

3 posts in this topic

i have this at the end of my script

FileOpen(@ScriptDir & "\settings.txt", 1)

i've also tried

FileOpen("settings.txt", 1)

i even tried putting in a sleep(5000) then trying to open it.. nothing works!!

the file exists and nothing is wrong with it.. i can open it manually after it's created

any ideas? do i have to run notepad.exe and then specify the filename?

Share this post


Link to post
Share on other sites



FileOpen() ony creates an internal handle to the file in AutoIt, if you are expecting Notepad to open you are sadly mistaken.

Share this post


Link to post
Share on other sites

What are you trying to do with the txt file? Are you reading in a file to use or output data?


RUN . . . Slide . . . TAG . . . Your out . . . PAINTBALL !!!

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