Skip to content

Scripting

octoplant offers the possibility to create scripts and script applications that are automatically executed before or after certain events. This allows numerous functions to be implemented that enhance the standard behavior of the system. For example, a specific version of an editor can be started for individual projects or work can be enabled with devices that are not yet fully supported.

Scripts and script applications are not permanently active, but are only called when a corresponding event occurs on the server or the clients. The events for which scripts or script applications can be called are described in the events on the server and events on the clients sections.

Script applications are compiled files and can be created and used independently by users.

In addition, the script package offers some advantages when creating scripts:

  • A separate interpreter is included in the scope of the script package. This means that you no longer have to use compiled script applications, but can execute the source code of the script files directly.
  • The script package makes it possible to create several scripts for the same event and to specify which script is to be executed depending on the component type.
  • The commands, keywords, functions and conditional assignments that you can use in the script applications are described in this documentation.

One way of using scripts is to use user-specific buttons in the UserClient. These can be configured and execute user-defined scripts. The configuration of the buttons is described at the end of this documentation.