MACROMEDIA COLDFUSION STUDIO 4.5-USING COLDFUSION STUDIO Use Manual page 191

For windows 95/98/nt4/2000
Table of Contents

Advertisement

199
InstallParserScript
function InstallParserScript(const wsScriptFile, wsFileExtAssoc: WideString): WordBool
Installs a parser (color-coding) script and associates it with the passed list of
semi-colon separated file extensions. If an existing parser is assigned to any of these
extensions, they are removed from the existing parser and assigned to the new one.
The parser script is copied from the passed location to the application \Parsers
subdirectory. Returns False on error.
LogMemoryStatus
function LogMemoryStatus(const wsLogFile, wsDescrip: WideString)
Writes the current memory status to a log file.
— creates the file if it does not exist, otherwise appends
wsLogFile: logfilename
status to the file.
— description text for the entry
wsDescrip: text
MessageBox
MessageBox(const wsText, wsCaption: WideString, nType: Integer): Integer
Displays a message dialog box for obtaining a user response. The
parameter
nType
determines the type of dialog box displayed, and should be a combination of the
following sets of values:
MB_ICONINFORMATION = 64
MB_ICONWARNING = 48
MB_ICONQUESTION= 32
MB_ICONSTOP= 16
MB_ABORTRETRYIGNORE= 2
MB_OK = 0 (Default)
MB_OKCANCEL = 1
MB_RETRYCANCEL = 5
MB_YESNO = 4
MB_YESNOCANCEL = 3
The function's result will contain the ID of the button that was pressed, which will be
one of the following:
IDOK = 1
IDCANCEL = 2
IDABORT = 3
IDRETRY = 4
IDIGNORE = 5
IDYES = 6
IDNO = 7
IDCLOSE = 8
NewDocument
procedure NewDocument(wbUseDefaultTemplate: WordBool)
Creates a new document, optionally from the default template.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion studio 4.5

Table of Contents