Scripting and Automation
While running scripts within BrainVoyager is what one often wants, there might be working scenarios that would benefit from the possibility to run scripts from outside the program. On Windows, this is made possible by the COM (Component Object Model) binaray interface. On Windows, BrainVoyager is running as a COM server allowing all programs and scripts supporting the COM interface to remotely access BrainVoyager's functionality. Since Matlab supports the COM interface, it can be used to script BrainVoyager (as in pre- 2.0 versions). This might be particularly useful for power users who want to mix custom analysis routines written in Matlab with the processing and visualization capabilities of BranVoyager. For details, see the Scripting BrainVoyager from Matlab guide that has been installed in the "GettingStartedGuides" directory within the BrainVoyager folder. Other "COM aware" environments can also be used to automate BrainVoyager, including external script programs written in Visual Basic or JScript.
Since BrainVoyager QX 2.3 it is also possible to use AppleScript scripts on macOS to automate BrainVoyager. For details about this possibility, see the BrainVoyager AppleScript Guide that has been installed in the "GettingStartedGuides" folder within the "/Applications/BrainVoyager" folder. The guide is also available from the Help menu when running BrainVoyager on macOS.
Copyright © 2020 Rainer Goebel. All rights reserved.