I’ve got a combo box that provides a list of items on a window with an “Add” button and a data table. When the user clicks on the add button I want to have the data table updated to add the value from the combo box into the next row. Then I want the combo box to reset itself to display the first item (blank) of its values.
I’ve got everything working fine except for the combo box resetting itself to the first value of its list. I’ve tried
set current item of combo box "importColumnName" of window "mainWindow" to 0
update combo box "importColumnName" of window "mainWindow"
and
set current item of combo box "importColumnName" of window "mainWindow" to 0
tell combo box "importColumnName" of window "mainWindow" to update
Does anyone know how I can get the combo box to refresh itself and display the initial value?
Thanks,
Jack