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

 
Applescript Sample Code Thread Tools Search this Thread Display Modes
Is there any sample code available for using Applescript with OmniGraffle?

What I am trying to do is generate pages with about 25 graphs on them. The program I am using to generate the graphs will only do one at a time so I thought I would import them in to OmniGraffle and resize and organize them there. Problem is that I can't even get "import" to work. For example if I use the code:
tell application "OmniGraffle Professional 4"
import ("/graph.pdf")
end tell

I get the error:
"OmniGraffle Professional 4 got an error: The operation was cancelled."

I am sure I am doing something stupid but I find Applescript pretty opaque.
 
Some late night Googling and I think I have finally sorted out my many problems (well, at least enough of them so that I can get a graph into OmniGraffle).
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
AppleScript Sample Code? jasonb OmniFocus Extras 4 2008-08-11 10:04 PM
Sample Data files Robin OmniFocus 1 for Mac 3 2008-03-25 11:06 AM
Request: Sample Perspectives jaaaaaaaaay OmniFocus Extras 5 2007-12-12 07:32 PM
Sample Outlines - More More More! BonafideBM OmniOutliner 3 for Mac 5 2007-07-06 09:59 AM
A sample project could be helpful redlamp OmniPlan General 9 2007-05-06 02:57 PM


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


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