>What another condition ?
I think it was "5th line after wrapping", not "5th paragraph". ALines() chops into paragraphs, but Tore's situation is, if I got it right, about 5th displayed line - which depends on font and width of the editbox. Which is why this is tricky.
>the cursor ycurs contains each line returned.the line 5 is in record 5 of alines or in 2th button (memowidth 8192).
>
>sele ycurs
>go 5
>_cliptext=yline
>messagebox(yline)
>
>Regards