Terminates BrainVoyager.
objBrainVoyager.Exit()
Before using this method, all open documents should be closed first. The method should be the last statement in a script, otherwise an error message might occur. You might want not to use this method in cases where you want that a script prepares a certain "setting" from which you want to start to work interactively.
' VBScript
Set BrainVoyager = CreateObject("BrainVoyager.1")
Set docVMR = BrainVoyager.OpenDocument("cg_objects.fmr")
docVMR.SetZoomLevel 3
docVMR.Close
BrainVoyager.Exit
// JScript
BrainVoyager = new ActiveXObject("BrainVoyager.1");
docVMR = BrainVoyager.OpenDocument("cg_objects.fmr");
docVMR.SetZoomLevel(3);
docVMR.Close();
BrainVoyager.Exit();
# PerlScript
$BrainVoyager = Win32::OLE->new("BrainVoyager.1");
$docVMR = $BrainVoyager->OpenDocument("cg_objects.fmr");
$docVMR->SetZoomLevel(3);
$docVMR->Close();
$BrainVoyager->Exit();