To "jump" to the bottom of the window (after adding your text via e.g. aline/echo), select the last line with:
sline @yourwindow $line(@yourwindow,0)
Note that the window "keeps scrolling" if the scrollbar is at the very bottom (the last line had been selected once).
If the window contains zero lines so far, the sline command will cause an error. Thus, "jump" after adding text or check for e.g.:
if ($line(@yourwindow,1))
Last edited by Horstl; 29/04/08 03:32 PM.