getVersion

Syntax: getVersion(xtra "PrintOMatic_Lite")

Returns: the version number of the Xtra, in string form

This function returns the version number of the xtra.

Example:

set version = getVersion(xtra "PrintOMatic_Lite")

if version <> "1.5.5" then alert "Incompatible Xtra version."