Applescript, slightly off-topic...

J. Landman Gay jacque at hyperactivesw.com
Mon Sep 1 20:53:00 EDT 2003


On 9/1/03 2:10 PM, Dale Pond wrote:

> Don't know about AppleScript but here is a Rev script that works:
> 
>  -- find and delete eol returns
>  repeat
>    get offset(RETURN, cd fld Text1)
>    if it = 0 then exit repeat
>    put " " into char it of cd fld Text1
>  end repeat

There's a built-in command that's even faster:

   replace (return & return & return) with return in cd fld "text1"


-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list