Re: QuarkXpress: Gettings words
Re: QuarkXpress: Gettings words
- Subject: Re: QuarkXpress: Gettings words
- From: Michelle Steiner <email@hidden>
- Date: Wed, 11 Jul 2001 11:52:56 -0700
On 7/11/01 11:10 AM, ThK <email@hidden> wrote:
>
>This is not a Quark thing; it is an Applescript (actually, a Mac OS)
>
>thing. Punctuation marks are never parts of words, so if you ask for a
>
>word, you'll never get the punctuation.
>
>
>
>
I thing it is still a Quark thing:
>
>
Try
>
word 2 of text box 1
>
>
--> "earth"
>
>
and compare with
>
(characters of word 2 of text box 1) as text
>
>
--> "earth."
Interesting.
In straight applescript,
set x to "new earth."
characters of word 2 of x as text
--> "earth"
>
Ever experienced this? Do you know a workaround to keep the style? that
>
makes the changed text the same style the last character of word 2 had.
Nope; I haven't done anything with styled text in Applescript.
--Michelle
----------------------------------------------------------------------
| Michelle Steiner | We're not human beings having a spiritual |
| | experience. We're spiritual beings |
| email@hidden | having a human experience. |
----------------------------------------------------------------------