Jasio Posted October 31, 2005 Share Posted October 31, 2005 I just wanted to create an ini with variables that the user can change to their needs, i wanted to know how to make the script read this ini, then run according to the modifications in the ini thanks Link to comment Share on other sites More sharing options...
Developers Jos Posted October 31, 2005 Developers Share Posted October 31, 2005 IniReadIniWrite SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Nuffilein805 Posted October 31, 2005 Share Posted October 31, 2005 what is your script supposed to do you can read the ini using iniread and you can write to it using iniwrite i suggest you look into the helpfile my little chatmy little encryption toolmy little hidermy unsafe clickbot Link to comment Share on other sites More sharing options...
Helge Posted November 1, 2005 Share Posted November 1, 2005 The code below is a simple example of how to get settings from outside the script, use them in the script, and how to save them back to the file for use later, if wanted. $readValue = IniRead(@ScriptDir & "\ini_test.ini", "section", "testkey", "default text...") $newValue = InputBox("Test : INI<->Var", "Input a new text for the testkey..", $readValue) If NOT @error Then IniWrite(@ScriptDir & "\ini_test.ini", "section", "testkey", $newValue) 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