When having a script place text in a text box with a scroll bar and
throughout execution keep adding more text, is there a way to make the
scroll bar scroll with the text automatically?
Shawn Duross
courtesy of Philip Buckley.....
set rowCount to get count of data rows of myLog -- where
mylog is data source
tell myLogTable
set selected data row to data row rowCount of myLog
-- we select the newly created row in the table
call method "scrollRowToVisible:" of object it with
parameter (rowCount - 1) -- we scroll the window if necessary to show
the selected row
end tell