AutoPlay Media Studio 9

Input.SetSelection

Input.SetSelection

Previous topic Next topic  

Input.SetSelection

Previous topic Next topic  

OverviewExamples

Input.SetSelection (

string ObjectName,

number Start,

number End )

Description

Selects a range of text in an input object. This is just like highlighting the text with the mouse.

Parameters

ObjectName

(string) The name of the input object.

Start

(number) The index in the input string to start selecting from. The first character in an input object is considered to have an index of 1.

Tip: You can use a start index of -1 to deselect all of the text in the object.

End

(number) The index in the string to stop selecting at. An index of -1 can be used to select all of the text to the end of the input object.

Returns

Nothing. You can use Application.GetLastError to determine whether this action failed, and why.

See also: Related Actions


Learn More: Indigo Rose Software - AutoPlay Media Studio - Buy Now - Contact Us