COM Reference

Class name: AdminScriptEditor.Wizard

ASEVersion (property) version 2.3 and later

This read-only property reports the currently installed version of ASE

AllText (property)

This read-only property represents the entire text for the active ASE script (also see TextLength)

CursorPosition (Property)

This property allows you to obtain or set the current cursor position in the active script. The cursor position is represented in number of characters (also see TextLength, SelectedTextLength)

InsertText (method)

Call this action in order to insert a string into the active script.

IsAseRunning (method)

This method returns a boolean value checking if the Admin Script Editor is in running.

OpenScript (method) version 2.3 and later

Opens the specified file in ASE. Use this method to create a new file rather than inserting into an existing one. For example, you wizard could generate a full script based on responses, create the script file and then open it in ASE as a new script.

IsScriptOpen (method)

This method returns a boolean value checking if there is an active script loaded in the Admin Script Editor.

LangaugeType (property)

This read-only property advises the language name for the active script within ASE. Valid values are: "Batch", "VBScript", "KiXtart" and "AutoIt".

SelectedText (property)

This read-only property will return the text currently selected in ASE.

SelectedTextLength (property)

This read-only property will return the length of the text currently selected in ASE (length of SelectedText)

TextLength (property)

This read-only property returns the length of the entire current script in ASE (length of AllText).

Also see: KiXtart Example, Visual Basic Example