Re: Using "character" in TeX-Edit
Re: Using "character" in TeX-Edit
- Subject: Re: Using "character" in TeX-Edit
- From: Emmanuel <email@hidden>
- Date: Mon, 21 Nov 2005 23:26:22 +0100
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))
You say:
text from character this to that, but you don't say "of" what string.
You are missing another "of input".
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
_______________________________________________
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