Direct parameter works but tell app doesn't. Why?

Hi,

Is there a good reason why this works:


set myList to bounds of window 1 of application "Adobe InCopy CS4"
item 1 of myList

But this doesn’t:


tell application "Adobe InCopy CS4"
	set myList to bounds of window 1
	item 1 of myList	
end tell

Thanks,

Michael

Hi Michael,

What is the exact error message you get?

The error message I get is: “Syntax Error. Can’t get 1 of myList. Access not allowed.”