Thanks for the answer.
I just checked the window with UISpy, and it seems that the input box I want to use doesn't have an id but its ControlType is ControlType.Edit, the other clickable objects on the window are ControlType.Button. Is there a function in AutoIt that allows to find if the object selected is ControlType.Edit?