The Omni Group Forums

The Omni Group Forums (http://forums.omnigroup.com/index.php)
-   AppleScripting Omni Apps (http://forums.omnigroup.com/forumdisplay.php?f=46)
-   -   OmniGraffle Scripting Reference (http://forums.omnigroup.com/showthread.php?t=31346)

Evil Closet Monkey 2014-03-02 04: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 08: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?
[/B]

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 04:08 AM.

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