• 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: Shawn Duross <email@hidden>
  • Date: Sun, 02 Jul 2006 09:45:45 -0400

Its not a table. It is just a regular text box with a scroll bar

(text view <name> of scroll view <name>)


On 7/2/06 4:40 AM, "Wayne Melrose" <email@hidden> wrote:

>
> 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: 
 >Re: Scroll bars (From: Wayne Melrose <email@hidden>)

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