OpenCOR has its own URI scheme, which gets registered the first time OpenCOR is run. The scheme takes the form:
It can be used in a Web browser, as well as in a Web document (e.g. the Plugins page).
command are case insensitive while it depends on the command when it comes to
For a command to be executable, no modal dialog must be active in OpenCOR.
The following commands are supported by OpenCOR itself:
openAboutDialog: open the About dialog.
openFile: open a file, which path/URL is given as an argument.
openFiles: open several files, which path/URL is given as arguments, separated by
As hinted above, a command can be sent to a given plugin. For example, we can ask the Core plugin to select a particular mode or view.