BlueCielo Meridian Enterprise 2018 VBScript API Reference

AIMS_AddComment event

Occurs after a user has added a comment to a document in Meridian Explorer.

Syntax

Function AIMS_AddComment (commentText As String, attachmentType As String, numberOfComments As Long)

Parameters

Name

Description

commentText

The text of the comment.

attachmentType

The type of file attached to the comment.

The possible values are:

0 – No attachment
1 – Redline
2 – Image

numberOfComments

The total number of comments on the document.

Example

Function AIMS_AddComment(commentText, attachmentType, numberOfComments)
    Document.Log "A comment was added to " + Document.FileName + vbNewLine + "Text: " + commentText
   Select Case attachmentType
       Case "Redline"
           Document.Log "A redline markup was added to " + Document.FileName 
       Case "File"
           Document.Log "A file was attached to " + Document.FileName             
   End Select
End Function