```
select empty
select button
select field
select text of container
select before text of container
select after text of container
select chunk of container
select before chunk of container
select after chunk of container
```
Note: container cannot be a variable.
The select command selects buttons, fields, or text.
Select button selects a button as if you had chosen the Button tool and clicked it. Select field selects a field as if you had chosen the Field tool and clicked it.
Note: You can’t use select to select hidden buttons or fields, and the user level must be set to Authoring or Scripting for select to work.
Select empty removes the current selection. Use select empty instead of click at to deselect text or objects.
Select text applies to all the text in a field or in the Message box. You can select all the text or place the insertion point before the first character or after the last character of text.
Select chunk applies to a specified range of text in the Message box or in a field, to one or more lines in a list field, or to a line (that is, a “menu” item) in a popup button.
In the Message box or in a field you can select the entire range of text or place the insertion point before the first character or after the last character of the range.