NSComboBox convert to a string.

So I am making a program with a simple GUI that has Combo Boxes. The user will select an item from the box and when they hit “Send” it will run the script. In the script it converts the text in the combo box to a shell script. I cannot get this to work for the life of me. I do not think it is converting it to a String. Any help would be greatly appreciated.

Post the code. Difficult to tell otherwise.