RichText.GetLine

string RichText.GetLine (

string ObjectName,

number Line = 1 )

Description

Returns a line of text from a richtext object.

Parameters

ObjectName

(string) The name of the richtext object.

Line

(number) The line number (one-based) of the line you want to get from the richtext object.

Returns

(string) Returns the text of the specified line in the richtext object. If an invalid line is specified, or an error occurs, a blank string ("") will be returned. You can use Application.GetLastError to determine whether this action failed, and why.

ResultVariable

When adding an action with the script editor, you can use this field to specify a variable that the return value will be stored in.

See also: Related Actions