• 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: Gettings words
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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. |
----------------------------------------------------------------------


  • Prev by Date: ACGI's
  • Next by Date: Index of Handler
  • Previous by thread: Re: QuarkXpress: Gettings words
  • Next by thread: Re: scripts not compiling on OS X
  • Index(es):
    • Date
    • Thread