gcue, You actually need WM_COMMAND: #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #include <EditConstants.au3> #include <Array.au3> #Include <GuiListBox.au3> Global $hGUI, $cInput, $cList, $sPartialData, $asKeyWords[100] ; Create list full of random 5 character "words" Keywords() $hGUI = GUICreate("Example", 200, 400) $cInput = GUICtrlCreateInput("", 5, 5, 190, 20)&#