The Omni Group Forums

The Omni Group Forums (
-   AppleScripting Omni Apps (
-   -   Place a PNG image in a Graffle doc w/AS (

RobLewis 2008-10-03 06: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 12:55 AM.

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