Input.SetSelection

Input.SetSelection ( 

string ObjectName,

number Start,

number End )

Example 1

Input.SetSelection("Serial Number", 1, 5);

Selects the first five characters in the "Serial Number" input object.

Example 2

Input.SetSelection("Serial Number", 1, -1);

Selects all the text in the "Serial Number" input object.

Example 3

Input.SetSelection("Serial Number", -1, 1);

Deselects all the text in the "Serial Number" input object.

See also:  Related Actions