

OmniGraffle 7.5 gets big automation update
Omnigraffle script how to#
If there are only one layer that could be shown, it will be shown.įor more insights about how to use this script, feel free to have a look at the example file included.2017. To set the default state, the script will then show all all layers with a name beginning with a “1”, all layers named exactly “First Screen” (case insensitive). the layers with a name beginning with a star “*” (you might use these layers to share some elements with all layers on a specific canvas).the printable shared layers (most frequently, shared layers are used to set up a general template, for instance containing the global interface layout or a browser window).This means that all layers will be hidden, except: The purpose of this AppleScript is to set your Omnigraffle document to its default state. For instance, if you were modifying a specific layer that you forgot to hide, it might change the way your prototype appear. If you happen to be using the "Shows or Hides Layers" action with the Presentation view, you may have remarked that you need to set the original view each time you want to test your prototype. You may be frequently using the Actions feature in Omnigraffle. This script resets your file to its blank state. To change the cropping region, you can modify CANVAS_SIZE andĬANVAS_ORIGIN in the Applescript file. The full canvas, it crops it to fit the iPad. This script does the same as ExportAllLayers, but instead of exporting You can try with ResetPrototype's example file (they follow the same principles). Show layers one by one and export as an image file (PNG by default).


This script exports all the layers in all the canvases as an image. This script exports all your opened files as PDF.

This script is licensed under the BSD two-clause license. This page gives you more information about Omnigraffle's script installation. It will compile the scripts and copy everything into the relevant folder.
