The Omni Group
These forums are now read-only. Please visit our new forums to participate in discussion. A new account will be required to post in the new forums. For more info on the switch, see this post. Thank you!

Go Back   The Omni Group Forums > OmniGraffle > OmniGraffle Extras
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
Applying master canvas to canvas dynamically Thread Tools Search this Thread Display Modes
Does anyone know if there is a way to set or apply a master canvas from the same document or another document to a specific canvas. I would like to automate this through applescript and i'm running into some road blocks.

here is what i was thinking.

Code:
set master of canvas 2 of myDocument to master 2
This isn't working, maybe im referencing the master wrong. not sure. Any insight would be awesome. thanks
 
Hi,

You have to reference the master 1 or 2 with its document.
So try this.

tell application "OmniGraffle Professional 4"
set fw to front window
set fd to fw's document
-- set shown canvas master
set fw's canvas's master to fd's master 1
-- set a specific Canvas of document to a master
set fd's canvas 1's master to fd's master 1
end tell
Best Regards
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamically reference another canvas' page number? earleymw OmniGraffle General 0 2011-12-29 05:34 PM
Omnigraffle pro 5 master canvas Martinrdoug OmniGraffle Extras 0 2009-01-20 09:47 PM
Layers / Master Canvas philpalmieri OmniGraffle General 3 2008-05-14 11:37 AM
Linking Master Canvas items with child canvas layers relaxedguy OmniGraffle General 1 2007-12-11 04:15 PM
Copying/Pasting from one file to another (master canvas problem) dubteka OmniGraffle General 1 2007-01-18 09:17 PM


All times are GMT -8. The time now is 03:05 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.