• 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
Naming Quark boxes - screwed up!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Naming Quark boxes - screwed up!


  • Subject: Naming Quark boxes - screwed up!
  • From: Steve Kump <email@hidden>
  • Date: Tue, 17 Apr 2001 10:54:05 -0500

Hi List,

I am doing this very simple operation in three steps to try and solve this
strange behaviour:

tell application "QuarkXPress"
tell document 1
set theBox to the object reference of the current box
set theIndex to the index of theBox
set name of generic box theIndex to "hello"
end tell
end tell

When I select a single box and run this script, it always names SEVERAL
different, unrelated boxes! WHY? I just want to name a few boxes by
selecting them, and then running one of 10 scripts that names up to 10
boxes, picture boxes really.

I have been struggling with variations on this but have not been successful
getting this to work, but I don't understand why it won't work! I can't rely
on the stacking order and need to target these few "marked" boxes out of a
slew of other boxes.

I hope someone can explain what is happening here.
Thanks,
--
Steve Kump


  • Follow-Ups:
    • Re: Naming Quark boxes - screwed up!
      • From: Hans Haesler <email@hidden>
    • Re: Naming Quark boxes - screwed up!
      • From: Steve Kump <email@hidden>
  • Prev by Date: zapping gremlins
  • Next by Date: Re: Naming Quark boxes - screwed up!
  • Previous by thread: Re: zapping gremlins
  • Next by thread: Re: Naming Quark boxes - screwed up!
  • Index(es):
    • Date
    • Thread