Applying master canvas to canvas dynamically
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[/CODE] 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 |
All times are GMT -8. The time now is 08:36 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.