Auto-remove blank lines in a list field

Bill Vlahos bvlahos at jpl.nasa.gov
Mon Apr 8 12:30:01 EDT 2002


Steve,

This script will delete the selected line of a list field right away. It 
is not what you asked for but it may be what you want.

on mouseUp
   do "delete" && the selectedLine
end mouseUp

Bill Vlahos

On Sunday, April 7, 2002, at 09:14 AM, Steve L wrote:

> Hello all,
>
> I have a list field and I am trying to write a script
> that upon "closeField" (or something appropriate),
> will automatically check each line in the field and
> remove/delete any blank lines in the list field; I
> have tried this a ton of different ways using
> variations of the repeat command, but have not been
> able to make it work.
>
> Thanks
>
> Steve
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Tax Center - online filing with TurboTax
> http://taxes.yahoo.com/
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list