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 General
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
Setting diagram style through Applescript ? Thread Tools Search this Thread Display Modes
Can't see this in the Applescript dictionary for Omnigraffle - is it accessible ?

(Would like to bypass the Choose Diagram Style dialogue, which is works fine but is a little cumbersome).
 
A bump to a really really old post, is this possible?
 
While Diagram Style doesn't appear to be an accessible property of Document, Template is. It's cumbersome to set up, but you could make a template for each diagram style you'd like to use. (Template Chooser, New Template, Choose Diagram Style, Save.) After that you can say, for example,

tell application "OmniGraffle Professional 5"
set the template of the document of the first window to "Clouds"
end tell

(Note that you apparently need to relaunch OG before it can see new templates.)

Last edited by john.gersh; 2011-03-08 at 05:25 AM..
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing new diagram style philat101 OmniGraffle Extras 6 2012-10-05 02:32 AM
Deleting a Diagram Style from your listing Canonman11 OmniGraffle General 4 2012-03-31 01:56 AM
mixed format diagram style? biggerstep OmniGraffle Extras 0 2011-03-24 06:03 AM
Creating a specific diagram style adrock31 OmniGraffle General 6 2009-07-23 01:09 PM
Simple question on diagram style dpfels OmniGraffle General 2 2008-12-17 07:47 AM


All times are GMT -8. The time now is 04:38 PM.


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