• 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
Re: QuarkXPress: finding anchored boxes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: QuarkXPress: finding anchored boxes


  • Subject: Re: QuarkXPress: finding anchored boxes
  • From: Michael Turner <email@hidden>
  • Date: Wed, 21 Mar 2001 14:17:43 -0500

> From: Hans Haesler <email@hidden>
> Subject: Re: QuarkXPress: finding anchored boxes

>> (...) Is there a test for selections (in contents mode) to
>> "have" or "not have" anchored boxes?
>
> Every anchored box can be detected because of it's three invisible
> characters. The first one is always ASCII 4, the second one may be
> ASCII 0 or ASCII 1, the third can be every number from 1 to 255.

I didn't know that. Valuable info.

/code snipped/

> ---
> The result should be something like: {115, 4, 0, 1, 109}

paragraph before & after:
{13, 4, 0, 2, 13}
another test: (letter "a"s)
{97, 4, 0, 3, 97}
test case, box is first item in textbox:
{4, 0, 2, 88}

This works great!



> Now, the idea is to count the occurrences of ASCII character 4 in the
> selection, using the text item delimiters:
> ---

/code snipped/

> ---
> If the variable numBox is greater than 1 then we could use it in the
> dialog, BUT the number wouldn't be reliable: {4, 0, 4} is one box but
> would be counted as two boxes. The same applies if your selection contains
> only one box, and it's code is {4, 0, 4}.
> Regards,
>
> Hans

This works better! And a nice demo of TID, too. Can the TID be set to
multiple characters?

Thanks a bunch.

/Michael


  • Follow-Ups:
    • Re: QuarkXPress: finding anchored boxes
      • From: Hans Haesler <email@hidden>
    • Re: QuarkXPress: finding anchored boxes
      • From: Hans Haesler <email@hidden>
References: 
 >Re: QuarkXPress: finding anchored boxes (From: Hans Haesler <email@hidden>)

  • Prev by Date: How to access the comment information for files.
  • Next by Date: Getting Applications Info
  • Previous by thread: Re: QuarkXPress: finding anchored boxes
  • Next by thread: Re: QuarkXPress: finding anchored boxes
  • Index(es):
    • Date
    • Thread