On Feb 19, 2008, at 3:13 PM, Levon Spradlin wrote:
> tell front document
> repeat with p from 1 to count of pages
> repeat with a from 1 to count of text boxes
> repeat with c from 1 to count of characters
These lines have problems.
you are repeating with p, a, and c being numbers not the actual items.
You could say
repeat with p in every page or document 1
repeat with a in every text box of p
repeat with c in every character of a
or
tell front document
repeat with p from 1 to count of pages
repeat with a from 1 to count of text boxes of page p
repeat with c from 1 to count of characters of text box c
Also not sure on if the way you are doing the replacement would work.
-Mark
No rest for the wicked.