The solution is to send KEY_ DOWN and KEY_UP messages. See here Automating desktop dropdown selectbox: