Re: quark sub/superscript
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