Welcome to OMNI-AUTOMATION.COM, a resource for information about the new automation support in the apps from The Omni Group.
Here’s the link to the Omni Group Forums with the announcement and download links.
OmniJS delivers the power of cross-platform scripting in a variety of ways:
It sure is an exciting time to use Omni software!
Certain conventions are used in the design of this website to make it easier to get to and retrieve the information you need.
IPAD USERS: Tap the Omni-Automation banner at the top of any page to hide the sidebar and display the page content edge-to-edge. Tap the banner again, to restore the sidebar and navigation panel.
Use the links in the Topics area found at the top right of every page to navigate to the content about a specific application or subject.
This website contains many example OmniJS scripts for you to use as is or as starting points in creating your own scripts. Example scripts are usually displayed in highlighted blocks with line numbers beginning each line of the script. In addition, a script sometimes contains one or more buttons for running the script, copying the script text to the clipboard, or copying the script link to the clipboard (see below).
EXAMPLE SCRIPT · Create a blue circle with a red 12-point border on the canvas of the frontmost OmniGraffle document.
|OmniGraffle: Create a Styled Circle|
|01||var aRect = new Rect(100, 100, 200, 200)|
|02||var aFillColor = Color.RGB(0, 0, 1, 1)|
|03||var aStrokeColor = Color.RGB(1, 0, 0, 1)|
|04||var aShape = canvases.addShape("Circle", aRect)|
|05||aShape.strokeThickness = 12|
|06||aShape.locked = false|
|07||aShape.fillColor = aFillColor|
|08||aShape.strokeColor = aStrokeColor|
We hope you find this site useful and informative, and we welcome your comments and suggestions.
This webpage is in the process of being developed. Any content may change and may not be accurate or complete at this time.