Quark Backmost Picture selection
Quark Backmost Picture selection
- Subject: Quark Backmost Picture selection
- From: email@hidden (Lars Lindgren)
- Date: Fri, 27 Apr 2001 10:07:23 +0200
- Organization: Tegnestuen
Hello everybody on this list
I am writing a "Mask cutter" script for Quark Xpress 3.3.2 who takes a
spread with any number of pictures, define the backmost pic, copy the
contents of this picture to all other pictures and hereafter correct
each of the other pictures offset, so that they exactly matches the
background image. I am using it as a part of graphic design, so that I
with a grayscale image, can select each of the "masks" and assign them
an individual color.
I have not postet it here yet, because of the size (ca. 50 lines). If
you think it is OK to post it and anybody is interested, please mail and
I will send it (still not completely debugged, but basically works)
But I need a way to fast select the backmost image on a spread.
Currently it is done this way, but there must be more clever ways :-)
....
if imagecount > 1 then
--- Select backmost image
set Back_picture_index to 0
repeat with i from 1 to imagecount
set current box to picture box i
if the index of current box > Back_picture_index then
set Back_picture_index to i
end if
end repeat
Thats is, highest index value = backmost picture.
Thanks for any input!
Lars Lindgren
/Tegnestuen
Copenhagen, Denmark