The Omni Group Forums

The Omni Group Forums (
-   AppleScripting Omni Apps (
-   -   OmniGraffle Scripting Reference (

Evil Closet Monkey 2014-03-02 05:12 PM

OmniGraffle Scripting Reference
Where can I find a scripting reference for OmniGraffle 6?

I am writing my first script, in which I want to:[LIST=1][*]Open all files in a directory.[*]Perform a simple vertical flip[*]Reduce the size (mainting the ratio)[*]Copy[*]Paste into a different document[/LIST]
I'm sure most of these, if not all of them, are possible - but I can't find any reference on how to start.

Can someone please point me to a guide on how to communicate with OmniGraffle through AppleScript?

Evil Closet Monkey 2014-03-02 09:18 PM

I've learned a substrantial amount in the last several hours, including figuring out how to import the OG library into the AppleScript editor.

The only thing I have left to figure out is:

[B]How can I resize a `graphic` object while maintaining the aspect ratio?

I `duplicate` an object and set the size, but I can't figure out how to get the `size` of the `graphic` to begin with, so I can't scale it.

All times are GMT -8. The time now is 11:07 AM.

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