• 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: quark sub/superscript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: quark sub/superscript


  • Subject: Re: quark sub/superscript
  • From: Stan Cleveland <email@hidden>
  • Date: Mon, 10 Apr 2006 13:41:34 -0700
  • Thread-topic: quark sub/superscript

On 4/10/06 10:39 AM, email@hidden wrote:

> how does one address all sub/superscripted characters in xpress 6.xx?
>
> something like:
>
>       ...whose on styles of style contains "subscript"
>
> can't quite get the object model straight.


This one took a bit to figure out, but the following code seems to do what
you need, Marc. Using Quark 6.5:

tell application "QuarkXPress"
    tell document 1
        set charList to object reference of characters of stories ¬
            whose style contains subscript
    end tell
end tell

Be sure to NOT put quotes around the word subscript, by the way.

Test to be sure this works as desired, because the syntax does not match
Quark's dictionary--it excludes the "on styles" reference. What I (and you,
obviously) thought should be correct syntax does compile, but fails with a
"can't get..." error. Strange.

Stan Cleveland
Color Technology Inc.
Portland, Oregon


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >quark sub/superscript (From: "Marc Rubin" <email@hidden>)

  • Prev by Date: repeat issue in Filemaker Pro 8
  • Next by Date: Re: Opening contact in Address Book to edit
  • Previous by thread: quark sub/superscript
  • Next by thread: repeat issue in Filemaker Pro 8
  • Index(es):
    • Date
    • Thread