tom13 Posted April 27, 2007 Share Posted April 27, 2007 I made a program that has variables as configuration. So for example the variable $time determines howmany milliseconds it takes to exit: Assign("time", "1000") Now I want to have a user friendly interface that lets the user change 1000 into something else and that this new amount is saved. Should I do this with a XML file? If so, how do I let the .exe file get the variable out of the .xml file and how do I make a configuration UI in which you can change the variables in the XML file? Link to comment Share on other sites More sharing options...
Zedna Posted April 27, 2007 Share Posted April 27, 2007 (edited) Use INI file. Look into helpfile at IniRead, IniWrite functions ...EDIT:Now I want to have a user friendly interface that lets the user change 1000 into something elseUse InputBox function Edited April 27, 2007 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
tom13 Posted April 27, 2007 Author Share Posted April 27, 2007 Use INI file. Look into helpfile at IniRead, IniWrite functions ...EDIT:Use InputBox functionNice, but how do I execute IniWrite when the user for example clicks on a radio button? Link to comment Share on other sites More sharing options...
Zedna Posted April 27, 2007 Share Posted April 27, 2007 Look into Autoit helpfile there are nice examples about GUI scripts. Resources UDF ResourcesEx UDF AutoIt Forum Search 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