Re: Moving grouped objects in Quark 4.11
Re: Moving grouped objects in Quark 4.11
- Subject: Re: Moving grouped objects in Quark 4.11
- From: Hans Haesler <email@hidden>
- Date: Tue, 12 Jun 2001 12:36:29 +0200
On Tue, 12 Jun 2001, Mark Bjaergager wrote:
>
(...) but when I get to the last line "set origin of bounds of boxIndex
>
to theOrigins" QuarkXPress returns an error "Some data was the wrong type"
>
But theOrigins contains a list : {"0 mm", "0 mm", "266 mm", "15 mm"}
Mark,
the class of 'origins of bounds' is 'measurements point' and
has only two values: {y, x}.
Modifiy your script this way...
---
set theOrigins to {(y as string) & " mm", (x as string) & " mm"}
set origin of bounds of boxIndex to theOrigins
---
... then it should work.
BTW, I don't know how you get 'y' and 'x' and I don't see why you must
coerce them and concatenate them to the unit.
Do you need 'modulWidth' and 'modulHeight' to modify the group?
If yes, shouldn't you rather add modulWidth to x (instead of y)?
If you need to set all four values of the 'measurements rectangle' then
you must use this command (without 'origin of'):
---
set bounds of boxIndex to theOrigins
---
Best regards,
Hans
---
Hans Haesler | email@hidden