Re: scripting OmniGraffle
Re: scripting OmniGraffle
- Subject: Re: scripting OmniGraffle
- From: Rob Lewis <email@hidden>
- Date: Wed, 06 Jul 2016 12:19:46 -0700
In years past I did quite a bit of scripting of OmniGraffle—it has some really cool features. (I have one script that pulls values out of an Excel spreadsheet and uses them to draw a diagram.)
One amazing features is that you can select any object(s), right-click, and select “Copy As … AppleScript” and it will place the actual code you need to create those objects on the clipboard. I’ve never seen anything like this in any other application. You can paste the code into a Script Editor window and tweak as desired.
Another nice feature is that any object can have an attached data table of key:value pairs that you can access from AppleScript.
A good resource: Omni Group’s forum: https://discourse.omnigroup.com/c/omnigraffle/omnigraffle-applescript
HTH
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden