Re: Urgent Quark scripting problem
Re: Urgent Quark scripting problem
- Subject: Re: Urgent Quark scripting problem
- From: Hans Haesler <email@hidden>
- Date: Mon, 8 Dec 2003 08:46:24 +0100
On Sun, 7 Dec 2003, Ken Tozier wrote:
>
I can make it work if I use the "at beginning" or "at end" ordinals,
>
but these are less than ideal, because I want created boxes to be
>
either one index lower or higher than the selected box and moving has
>
proved problematic for several reasons.
Ken,
what are your problems with 'moving'? This works for me:
---
set y1 to "100 pt"
set x1 to "100 pt"
set y2 to "200 pt"
set x2 to "200 pt"
tell document 1 of application "QuarkXPress 3.32"
tell page (name of page 1 of current box)
make text box at beginning with properties {bounds:{y1, x1, y2, x2}}
end tell
move text box 1 to before current box
end tell
---
Hans Haesler <email@hidden>
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.