Encryption Posted February 11, 2005 Posted February 11, 2005 Ok, if i have an EMPY Autoit file and I want to write more than one string to the .ini how do I make it always pring the string to be written to the file at the end of the .ini file...as seen IniWrite("blah.ini", "", "", "A") Sleep(500) IniWrite("blah.ini", "", "", "B") I was doing that and it wasn't writing the string to the end of the .ini file...is there a certain parameter i should set, or is it just an error in my code?
Valik Posted February 11, 2005 Posted February 11, 2005 You're not writing valid INI data. You aren't providing a key or a section. What you appear to want is FileWriteLine.
Encryption Posted February 11, 2005 Author Posted February 11, 2005 Yes I just realized that after I read your answer. It hit me that .Ini were more configuration files than just logs. If I did file write like to a normal text file then my task would be accomplished. Thank you for helping me realize the flaw. 2x Cookies for you.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now