URI scheme

OpenCOR has its own URI scheme, which gets registered the first time OpenCOR is run. The scheme takes the form:

opencor://[pluginName.]command[/argument1[|argument2|argument3|...|argumentN]]

It can be used in a Web browser, as well as in a Web document (e.g. the Plugins page). Both pluginName and command are case insensitive while it depends on the command when it comes to argument1, argument2, argument3, …, argumentN. For a command to be executable, no modal dialog must be active in OpenCOR.

The following commands are supported by OpenCOR itself:

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.