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)
-   -   Place a PNG image in a Graffle doc w/AS (http://forums.omnigroup.com/showthread.php?t=10103)

RobLewis 2008-10-03 05:13 PM

Place a PNG image in a Graffle doc w/AS
 
I'm trying to place a small PNG image (actually, several) in an OmniGraffle document. I've used File: Place Image… to manually put placeholder images in, but now I want to script replacing them with the real images (from PNG files).

According to the dictionary, solids have a property "image" that you set to the name of a file to fill the solid, but this doesn't work. It gives "Apple Event handler failed".

P.S. How about documenting the fact that the property "tag" is stored in user data with the name "_tag"? It would have saved me some trouble.


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

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