Re: Quark Scripting
Re: Quark Scripting
- Subject: Re: Quark Scripting
- From: Shane Stanley <email@hidden>
- Date: Sat, 02 Dec 2000 22:04:53 +1100
On 2/12/00 5:49 AM +1000, Sprague, Graham, email@hidden,
wrote:
>
Is it possible to get the name of an item using the "uniqueID" property of a
>
generic box in QuarkXpress. Note I have set the names of the selected boxes
>
with another script before I ran this one. Each time I get an error that
>
says can access the name of "202"(the uniqueID for the item) Can any one
>
Help!! I am using the following code...
>
---------------------
<snip>
>
set curName to the name of generic box whose uniqueID is curID
This should be:
set curName to the name of generic box 1 whose uniqueID is curID
(I'm fairly sure you should also be able to refer simply to "generic box id
curID", too, but for some reason that's not compiling here at the moment.)
>
set name of text box curName whose selected is true to ("Copy Box " &
groupNum)
Try something like:
set name of text box 1 whose name is curName and selected is true to ("Copy
Box " & groupNum)
You might have to play with that a bit.
>
set name of picture box curName whose selected is true to ("Image Box " &
groupNum & lastChar)
See above.
--
Shane Stanley, email@hidden