Example where the buttons get created and the icons get set in a loop: #include <GUIConstantsEx.au3> #include <Array.au3> #include <Math.au3> Global $aButtonLabel = IniReadSection(@ScriptDir & "\test.ini", "BUTTON-LABEL") ; Read section with button labels Global $aButtonState = IniReadSection(@ScriptDir & "\test.ini", "BUTTON-STATE") ; Read section with button states Global $aButtonIcon = IniReadSection(@ScriptDir & "\test.in