join Posted October 4, 2008 Posted October 4, 2008 hi again! well, now im need some help again. i would like to use a/some ini file(s), i been looking for somewhile now but i dont get it to work. i want it to load, like "load (filename, ex test).ini" is there a way to do that? like if i want it to write something so it be like "send (file).ini to win: notepad" (OBS this is no real autoit code, i just wanted to show something it should do) so what i basicly want it to do, is to load some text in a .ini file that you can change later without to change the au3 code, ex if you make a exe file out of it, and want to make it public, but that people can change some text it writes. THX!
Zedna Posted October 4, 2008 Posted October 4, 2008 Look at IniRead,IniWrite Resources UDF ResourcesEx UDF AutoIt Forum Search
Marlo Posted October 4, 2008 Posted October 4, 2008 The iniread function will look somthing like this $Var = IniRead (@ScriptDir & "Settings.ini", "Settings", "Var", "" ) Then the actual Settings.ini would look like this Settings Var=Some data The value var will be assigned to the $Var variable Have a look at the iniread, iniwrite functions in the help file Click here for the best AutoIt help possible.Currently Working on: Autoit RAT
join Posted October 4, 2008 Author Posted October 4, 2008 Look at IniRead,IniWritethx! i saw that before but i never understod a shit, now i do, thx!
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