Is it possible to give a box a name? (Quark Xpress)

Hello
I was wondering: if I want to move a box, is it possible that I give a box a name or ID in advance, so that i can tell a script to take e.g. box “sara” and move it to a certain position? Next take another box that I call “jane” and move it to a different place?
Currently I have an Xpress document with between 15-22 boxes (both text as well as image boxes). In certain cases I need to move SOME of them. Often not the same ones, often not all. So I thought I’d give them a name or something like that so that their unique ID can be used to specify which box has to go where.
Anyone out there who can get me in the saddle?
Thanks a lot,

Elsakippy

I havent played much with Quark 6, but in 4 you had to name boxes using scripts, there was no build in way to name then as yoiu built a box. ALAP has an Xtension in their Xpert Tools that does allow you to show and assign names as you are building boxes but if you do not have that you could set it with the following script:

tell application "QuarkXPress"
	set MySelection to selection of document 1
	set MyName to (text returned of (display dialog "Please enter a name for the selected box:" default answer "")) as string
	set name of MySelection to MyName
end tell

Thanks Jerome, back at my Mac today, I’m going to fiddle with it and see if I can get the script to do what I want it to do. I’m no programmer but I enjoy trying things with scripts, and see how much time it can save!
Thanks very much Jerome for helping, I’ll let you know how it goes.

ta,

Elsa