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

 
OmniGraffle Scripting Reference Thread Tools Search this Thread Display Modes
Where can I find a scripting reference for OmniGraffle 6?

I am writing my first script, in which I want to:
  1. Open all files in a directory.
  2. Perform a simple vertical flip
  3. Reduce the size (mainting the ratio)
  4. Copy
  5. Paste into a different document

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?
 
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:

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.
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes



All times are GMT -8. The time now is 09:01 PM.


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