Jump to content

Help with IniRead


 Share

Recommended Posts

I can not really work it out this.

config.ini
[Section]
Hide=Hide
 
.au3
$var1 = IniRead("config.ini", "Section", "Hide", "NotFound")
Control & $var1("Program Manager", "", "[CLASSNN:SHELLDLL_DefView1]"
Edited by Hansio
Link to comment
Share on other sites

I believe that in order for the AutoIt INI functions to work, there must be a named section in the .ini file. So your config.ini may have to look like this

[section]

Hide=Hide

It is there already, I had just forgotten to write it here

Link to comment
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
 Share

×
×
  • Create New...