The OmniGraffle Application
In OmniJS, the OmniGraffle application object has properties (name, version) and elements (documents, stencils, windows). In a script, the application object is represented as: app
If you entered just “app” in the OmniGraffle console window and executed the line, the result would be a reference to the application object:
01 | app | |
02 | --> [object Application] |
Properties: name
The value of the name property of the application object is a string representing the name of the OmniGraffle application.
01 | app.name | |
02 | --> OmniGraffle |
The value of the application name property is read-only.
Properties: version
The value of the version property of the application object is a string representing the version number of the OmniGraffle application.
01 | app.version | |
02 | --> 177.0.276369 |
The value of the application version property is read-only.