Hi,
Two actions working together to let you specify the keyboard focus control.
Use "GuiSetNextControlName" just before the gui control you want to name and then use "GuiFocusControl" with that control name, and when you enter that state, this control will get the keyboard focus.
Attached a working example as well as the actions ( if you just need the actions), so that you don't waiste time figuring it out.
bye,
Jean