Applescript Sample Code
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).
|
All times are GMT -8. The time now is 04:24 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.