[ autoit ]
$Combo1 = GUICtrlCreateCombo("", 8, 8, 145, 25, BitOR($CBS_DROPDOWNLIST, $CBS_AUTOHSCROLL)) GuiCtrlSetData(-1, "Item1|Item2|Item3|Item54") $read = GuiCtrlRead($Combo1) Func $read & () ;some code EndFunc
Am am working on a script and dont want to create 54 functions
![^_^](http://aut1.autoit-cdn.com/forum/public/style_emoticons/default/happy.png)
So is it posible to set the Function name to what i select in the ComboBox