Just playing around with it a bit with the data viewer, it seems that the
bounds are relative to the entire screen and not to the window of the
current layout, where the origin (0, 0) could be anywhere on the screen. The
Object Info is relative to it's layout's origin.

Since the window's orientation is also relative to the screen, I suppose a
simple subtraction would give you the real estate of the window borders and
status area if you are using it, if the absolute position is necessary for
your scripting purpose. Ah, I see you got that in the followup post.

I suppose there is a method to the madness, whereas when scripting window
placement, you would want it relative to the screen. When FMP is drawing a
layout, it would want that layout to be rendered in relation to its own
origin.

Just curious, can I ask what is it that you are scripting using the position
attribute?

Aloha,
Miki

Reply via email to