illustrator placed items

I’ve been trying to script illustrator and am having some problems.
I want to be able to get properties of a placed item. As I started working with is I was just going to select the “placed item” and try it. Here is the code I tried.

tell application "Adobe Illustrator 10"
	set theProps to properties of selection
end tell

I get an error that “Some data was the wrong type”

What am I doing wrong?

Thanks in advance,
D

sorry… I figured it out. I needed a “of document 1” in the code. Now it works! :slight_smile:
D