View Single Post
For the adventurous, here's an Applescript that cycles through the canvases and sets the zoom level.

Paste the script below into the AppleScript Editor, change the OG version name if necessary, and save it with File Format Script into ~Library/Scripts/Applications/OmniGraffle (or .../OmniGraffle Pro). Create that folder if it's not already there. You'll probably be asked to find the OG application. The script will then appear in the Script menu (the little scroll icon in the items on the right side of the menubar).

Choosing the script there will put up a dialog asking for a zoom level, with a default answer of the current one. It will then cycle through all the canvases and set them to that level.


tell application "OmniGraffle Professional 5"
set currentZoom to the zoom of the front window
set theDialog to display dialog "Zoom all canvases to:" default answer 100 * currentZoom
set theZoom to the text returned of theDialog
set theDoc to the document of the front window
set currentCanvas to the canvas of the front window
repeat with theCanvas in every canvas of theDoc
set the canvas of the front window to theCanvas
set the zoom of the front window to theZoom / 100
end repeat
set the canvas of the front window to currentCanvas
end tell

Last edited by john.gersh; 2011-03-11 at 10:48 AM..