Thanks to help from Dan and Allen, I have the "Clean Forward" script working. It would be nice to make one more change. I would prefer that the script not rewrap the text, since sometimes I want to preserve the carriage returns and can always easily rewrap using the menu command. The problem is that I can't figure out what to change in the script to remove this "feature." Can anybody here help me? The script is below. Thanks in advance,
Change
set theNewText to theNewText & ((text startChar thru -1 of theLine) as string) & " " --& return
to
set theNewText to theNewText & return & (text startChar thru -1 of theLine)
(Untested, but I think that will work. I’m not quite sure what that superfluous “as string” was doing there.)
--
Paul Berkowitz
