View Single Post
I can't even get the user data from the selection:

tell application "OmniGraffle Professional 5"
tell window 1 to get the user data of the selection
end tell

just gives this error:
Canít make user data of selection of window 1 into type reference.

If I just just ask for the selection:
tell application "OmniGraffle Professional 5"
tell window 1 to get the selection
end tell

I get back the expected graphic reference:
{graphic id 3845 of canvas id 9 of document "fotoFlag XL3.graffle" of application "OmniGraffle Professional 5"}

Methinks something is broken.

(I ran into this while trying to make a couple of simple scripts to copy and paste the user data from/to selected objects. Oughta be easy, right?)

Last edited by RobLewis; 2009-03-26 at 11:42 AM..