• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Scroll bars
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Scroll bars
      • From: Shawn Duross <email@hidden>
References: 
 >Scroll bars (From: Shawn Duross <email@hidden>)

  • Prev by Date: Scroll bars
  • Next by Date: Re: Scroll bars
  • Previous by thread: Scroll bars
  • Next by thread: Re: Scroll bars
  • Index(es):
    • Date
    • Thread