I am trying to globally show/hide a layer called "Notes" which exists in every canvas using an applescript.
What I have so far is:
- OG doesn't like this. In fact I can't work out how to do anything with the layers within a canvas - I can't get Applescript to return how many there are, their names etc.
Any suggestions from a Graffle guru out there?
Thank you!
What I have so far is:
Code:
tell application "OmniGraffle Professional 5" set theDocument to front document set canvasCount to count of canvases of theDocument repeat with canvasNumber from 1 to canvasCount set canvas of front window to canvas canvasNumber of theDocument set the visible of layer "Notes" to true end repeat end tell
Code:
set the visible of layer "Notes" to true
Any suggestions from a Graffle guru out there?
Thank you!
Last edited by Andrew N; 2008-10-16 at 06:52 AM..