The Field_SetSelection() function selects text in a text field.
Field_SetSelection(text_field, start_position, length)
• text_field – The text field in which you are setting the selection.
• start_position – An integer specifying the starting position of the selection.
• length – An integer specifying the length of the selection. If 0 is specified, no text is selected.
The boolean value true.