applescript and quicktime problem and error

Hi. I am trying to write a script that will set the position and the dimension of a QuickTime movie. Here is the script I have been using to try to test if this is possible:

tell application "QuickTime Player"
	activate
	set the position of window 1 to {0, 0}
end tell

It is essentially copied from several that I have found online. I get the following error:

Is this a problem with QuickTime or with the script? I get the same error when I try to set the dimensions. Any advice would be greatly appreciated.

Thanks.

The problem is with the script. Windows in QuickTime Player don’t have a position property.

I get the same error when I run the script “Set position of the Front Movie.scpt” that you can download from Apple. Their script uses <> instead of position, but either way it doesn’t work. Does anybody know how to change the position of a window in quicktime as well as the dimensions?
thanks

Hi:

Try “set the bounds of window 1 to {0, 0, 480, 320}” for example. (qt7)

guy