Toggling layers in OmniGraffle

Sometimes I need to output PDFs of a wireframe produced in OmniGraffle in two versions, one with annotations and one without. Luckily I habitually put all annotations on their own layer, so all that’s needed is a simple AppleScript to tell OmniGraffle to toggle the printable and visible nature of every layer named “Annotation”. A bit of googling turned up this forum post which does most of the work, I just needed to add in the printable property.
Read More