Re: Scroll bars
Re: Scroll bars
- Subject: Re: Scroll bars
- From: Wayne Melrose <email@hidden>
- Date: Sun, 2 Jul 2006 10:40:16 +0200
On Jul 2, 2006, at 7:37 AM, Shawn Duross wrote:
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
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
References: | |
| >Scroll bars (From: Shawn Duross <email@hidden>) |