Hallo Micahel,
das Problem ist bekannt. Damit die Werte durch XPress wie erwartet zurückgegeben werden, muss unter Classic in den Befehlen ein ausdrückliches 'coerce to' eingefügt werden. Und XPress besorgt die Umwandlung.
---
tell document 1 of application "QuarkXPress 5.01"
tell current box
set {y1, x1, y2, x2} to bounds as list
set y1 to coerce y1 to real
set x1 to coerce x1 to real
set y2 to coerce y2 to real
set x2 to coerce x2 to real
end tell
end tell
{y1, x1, y2, x2}
---
Literatur dazu gibt es im Thema "Nochmals: ein "mysteriöses" Format" unter http://www.page-online.de/page/forum/viewthread/1815
Hans Haesler <hsa@ringier.ch>
als Antwort auf: [#418817]