IKAMI Posted August 13, 2010 Share Posted August 13, 2010 Hi everyone, i'm a total newbie to AutoIt but i want to learn how to use it starting from my first issues. I want to write an AutoIt script to edit txt files (precisely ini files) in order to perform easier configurations within Rainmeter's config files. Example: My ini file contains these strings: [Rainmeter] Author=myself [Variables] Variable1=hello Variable2=34 My objective is to change by the script (using a GUI) Variable1 and Variable2 values (for example to replace the "hello" string with a "goodbye" string and to replace the "34" value to "70" value). I want the script to monitor variables' values in a box with the possibility to change values from the same box in a window (by using a simple GUI) and automatically save changes to the ini file when you close the GUI. I read something about creating GUIs in the reference guide but i have no idea about how to edit a specified text at a specified position within the file. Could somebody help me to understand and to use the correct method? Thanks and sorry for my (maybe) bad english. Link to comment Share on other sites More sharing options...
somdcomputerguy Posted August 13, 2010 Share Posted August 13, 2010 The IniRead, IniWrite, and IniDelete functions would be of much use in this situation. - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. 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