• 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: TE+ question [WAS Re: FMP question -- for Shane Stanley?]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: TE+ question [WAS Re: FMP question -- for Shane Stanley?]


  • Subject: Re: TE+ question [WAS Re: FMP question -- for Shane Stanley?]
  • From: Xandra Lee <email@hidden>
  • Date: Tue, 31 Oct 2000 15:14:49 -0500

>When I say:
>
> get offset of "CAT4" in "1 CAT4"
>
>or
> get offset of "c" in "abc"
>
>it says "Can't get offset of "c" in "abc". Access not allowed."
>
>Does anyone know what the correct syntax is? It claims to be a subset of the
>Text Suite, rather the Standard Additions "offset" we all know. I'd rather
>not be going in and out of a TE tell block to do this, if I can work out how
>TE's 'offset' works.
>--
>Paul Berkowitz

Ars-Backward but works:
offset of (every word of window 1 whose contents = "CAT4")
--> start character(s) list form {792}
set charOffset to (offset of (first word of window 1 whose contents =
"CAT4"))
--> 792

I imagine theres a better way but I can't find it.

xandra

Alixandra Leigh
AceDesign
email@hidden
------------------------------------------
Furniture:
><http://home.rochester.rr.com/alexleighs/furniture/furniture.htm>
Renderings:
><http://home.rochester.rr.com/alexleighs/interiors/interiors.htm>


  • Prev by Date: Re: TE+ question
  • Next by Date: easy script that i just can't make work
  • Previous by thread: Re: TE+ question
  • Next by thread: easy script that i just can't make work
  • Index(es):
    • Date
    • Thread