Hey there, Iv been readin all the examples and tutorials I could find in getting a GUI to write to an INI file, no such luck. Can someone point me in the right direction?
Code:
Gui, Add, DropDownList, vAnimusSelect, F1|F2|F3|F4|F5|F6|F7|F8|F9|F10
Gui, Add, DropDownList, vColorChoice1, Black|White|Red|Green|Blue
Gui, Add, ComboBox, vColorChoice, Red|Green|Blue|Black|White
Gui, Add, Button, default, OK
Gui, Show, w405 h823, New GUI Window
Return
ButtonOK:
Gui, Submit
IniWrite, %vAnimusSelect%, GUI.ini, Animus, select
IniWrite, %vColorChoice%, GUI.ini, Animus, colour
IniWrite, %vColorChoice1%, GUI.ini, Animus, colour1
Return
GuiClose:
ExitApp
The output to the INI file is this
Code:
[Animus]
select=
colour=
colour1=
As you can see none of the selections from the dropown list go into the ini file. Any help would be much appreciated[/code]