Sign in to follow this  
Followers 0
join

needs help with ini

4 posts in this topic

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!

Share this post


Link to post
Share on other sites



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 :P


Click here for the best AutoIt help possible.Currently Working on: Autoit RAT

Share this post


Link to post
Share on other sites

Look at IniRead,IniWrite

thx! i saw that before but i never understod a shit, now i do, thx!

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0