Encryption Posted February 11, 2005 Share 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? Link to comment Share on other sites More sharing options...
Valik Posted February 11, 2005 Share 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. Link to comment Share on other sites More sharing options...
Encryption Posted February 11, 2005 Author Share 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. Link to comment Share on other sites More sharing options...
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