次のスクリプトはアクションのログを記録するかしないかを設定します。
Dim currentLog As New NotesLog _
( "Turning Actions On and Off" )
Call currentLog.OpenMailLog _
( "Charlie Pycha", "Here's your log" )
currentLog.LogActions = False
Call currentLog.LogAction( "This action never gets logged." )
'...do some other stuff...
currentLog.LogActions = True
Call currentLog.LogAction( "This action does get logged." )
Call currentLog.Close