Re2: Using "character" in TeX-Edit
Re2: Using "character" in TeX-Edit
- Subject: Re2: Using "character" in TeX-Edit
- From: TERRY HILL <email@hidden>
- Date: Tue, 22 Nov 2005 11:31:52 -0800 (PST)
>At 8:34 AM -0800 11/21/05, TERRY HILL wrote:
>> set ix2 to offset of endingtag in (text from
>>character ix1 to (count of last character of input))
>
>Emmanuel says:
>text from character this to that, but you don't say
"of" what string.
>You are missing another "of input".
I tried it, but ended up getting it to work with:
set ix2 to offset of endingtag in (text from character
ix1 to character -1 of input)
Go figure!
>> repeat with I from 1 to the count of
FindList2
>> set TheContent to change (FindList2's
item I) into
>>(ReplaceList2's item I) in TheContent with whole
word
>> end repeat
>
>This uses Satimage.osax, and in OSX you can save the
loop and write:
>
>set theContent to change FindList2 into ReplaceList2
in theContents
>with whole word
>
> Emmanuel
You are correct - left over from OS 9 - but made
change in several places and cleared up some other
issues I was having.
Thanks a TON Emmanuel - you're a great example of
helpful and quality people on this user group!
Thanks again,
Terry
_______________________________________________
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