I've finally managed to understand the basics about creating an array, but i'm stuck with the more complicated things..even after looking through many many posts. Could someone help me add/remove menu items according the array aswell as help create the 'Case' in which the menu's item is clicked from the array. (and just as a reference - the code is outside the While statement inside the main Func) $pRead = IniReadSectionNames($sFile) If IsArray($pRead) Then For $i = 1 To UBound($pRead