Re: TE+ question [WAS Re: FMP question -- for Shane Stanley?]
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>