RichText.GetSelection

table RichText.GetSelection ( 

string ObjectName )

Example 1

selection_point = RichText.GetSelection("Information");

Gets the indexes of the selected text in the "Information" richtext object and stores the start and end points in the "selection_point" table. These values can be accessed by referencing selection_point.Start and selection_point.End.

See also:  Related Actions