I don't know how you managed to copy and paste it and it not still work. Yes, if you make it list behavior it does go in the line you would expect, but for a regular field, the script works, and the text goes in front of the following line.
Here's a screen recording, having just copied my script from the email I sent: http://xfiles.funnygarbage.com/~colinholgate/video/selectedline.mov On Aug 14, 2011, at 4:30 PM, J. Landman Gay wrote: > The handler errors unless listbehavior is set. But once I do that, the text > appears after the correct line (line 1.) _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode