• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Quark Backmost Picture selection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Quark Backmost Picture selection
      • From: Hans Haesler <email@hidden>
    • Re: Quark Backmost Picture selection
      • From: Shane Stanley <email@hidden>
  • Prev by Date: Update Remote Folders v1.2.2
  • Next by Date: Re: How to control UNscriptable apps? Which software?
  • Previous by thread: Update Remote Folders v1.2.2
  • Next by thread: Re: Quark Backmost Picture selection
  • Index(es):
    • Date
    • Thread