createdistributable

Create a distributable encrypted file to be used with Compose Light. The file is automatically recognized by the operating system as a Compose Light file.

Syntax

createdistributable(infile,outfile)

Inputs

infile
The path and name of the OML file to be encrypted and to be used with Compose Light (.omd)
Type: char
Dimension: string
outfile
The destination and name for the encrypted file. The standard extension for OML encrypted distributable files is omd.
Type: char
Dimension: string

Outputs

Examples

Basic createdistributable example:

createdistributable('infile.oml', 'infile.omd')

Comments

Warning: The distributable file that is created still relies on a Compose installation and a valid Compose license.
Warning: When a script is encrypted, it is not possible to decrypt and retrieve the original .oml script.

Encrypted scripts can be used and executed like regular OML scripts (addpath, run command, and so on.) in Compose Light.

If two files with the same name, but different extensions (.oml and .omd), are located in the same folder, the OML interpreter will use the .oml file.