Jump to content

Recommended Posts

Posted

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?

Posted

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

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
×
×
  • Create New...