CLASS: Script
Class Script

Known sub-classes: Agent, DatabaseScript, Form, IgnoringScript, Page, ScriptLibrary, SharedAction, View

This class is the base class for LotusScript containing design elements.


Property Summary
Public CommentComment (Get)
     Returns the comment (if any).
Public StringScriptAlias (Get)
     Returns the alias of the script (if any).
Public StringScriptName (Get)
     Returns the name of the script.
Public IntegerScriptType (Get)
     Returns the type of script.

Methods Summary
PublicAddScriptElement(se As Variant)
     Adds a ScriptElement for this Script.
PublicNew(source As Variant)
     Constructor.
PublicParse()
     Parses the added source and create ScriptElements objects.

Functions Summary
Public VectorGetScriptElements()
     Returns the ScriptElement objects for the Script object.

Method Detail

AddScriptElement

Public Sub AddScriptElement(se As Variant)
Adds a ScriptElement for this Script.
Parameter(s):
se - The ScriptElement to add.

New

Public New(source As Variant)
Constructor.
Parameter(s):
source - The source of the source code (either a NotesDocument or a ScriptSource object)

Parse

Public Sub Parse()
Parses the added source and create ScriptElements objects.

Function Detail

GetScriptElements

Public Function GetScriptElements() As Vector
Returns the ScriptElement objects for the Script object.
Returns:
Vector of ScriptElement objects (never nothing)