Comments on: Kontakt Scripting (KSP) :: scrollbar vertical, scroll area, auto scroll (as mouse wheel replacement) https://blog.yummybeats.com/ksp-kontakt-scripting/kontakt-scripting-ksp-scroll-bar-vertical-scroll-area-auto-scroll-as-mouse-wheel-replacement/ Kontakt Scripting Tutorials (KSP), Free Massive Presets, Mixing Tips Fri, 17 Apr 2026 01:52:33 +0000 hourly 1 https://wordpress.org/?v=7.1.3 By: YummyBeats https://blog.yummybeats.com/ksp-kontakt-scripting/kontakt-scripting-ksp-scroll-bar-vertical-scroll-area-auto-scroll-as-mouse-wheel-replacement/comment-page-1/#comment-9313 Fri, 05 Jul 2024 07:14:18 +0000 https://blog.yummybeats.com/?p=3574#comment-9313 In reply to Daniel Lautersztain.

I just took a look at the code and unfortunately this is not as easy as I thought in the first place. I will have a closer look soon but it seems like almost the entire script would have to be rewritten for this, so probably being too time consuming

Alternatively a much simpler and immediate solution would be to rather reverse the assigned button images etc. So that the last button gets the image and functionality of the first button and so on. Or is this not possible in your case?

]]>
By: Daniel Lautersztain https://blog.yummybeats.com/ksp-kontakt-scripting/kontakt-scripting-ksp-scroll-bar-vertical-scroll-area-auto-scroll-as-mouse-wheel-replacement/comment-page-1/#comment-9312 Thu, 04 Jul 2024 23:17:25 +0000 https://blog.yummybeats.com/?p=3574#comment-9312 I noticed when implementing this that the btn_#idx# count starts from 60 and goes down to 0….I’ve been trying to reverse it with no luck, i’m hoping to have btn_1 be at the top (I only have 1 button per row) and scrolling down shows btn_2, btn_3 btn_4. Is there a way to reverse the placement of the buttons? I noticed in the button matrix tutorial they do start at btn_0 at the top and increment down.

]]>
By: YummyBeats https://blog.yummybeats.com/ksp-kontakt-scripting/kontakt-scripting-ksp-scroll-bar-vertical-scroll-area-auto-scroll-as-mouse-wheel-replacement/comment-page-1/#comment-9206 Sun, 30 Jul 2023 18:26:08 +0000 https://blog.yummybeats.com/?p=3574#comment-9206 In reply to Noel.

Great that you got it working.

Jfyi, the scroll function does all the calculation and repositioning work, based on the current $scrollbar value. So always call it if you want to update the complete scroll area.

]]>
By: Noel https://blog.yummybeats.com/ksp-kontakt-scripting/kontakt-scripting-ksp-scroll-bar-vertical-scroll-area-auto-scroll-as-mouse-wheel-replacement/comment-page-1/#comment-9205 Sun, 30 Jul 2023 02:54:37 +0000 https://blog.yummybeats.com/?p=3574#comment-9205 In reply to Noel Ram.

Sorry, all working now, forgot to “call scroll”
Many thanks

]]>
By: Noel Ram https://blog.yummybeats.com/ksp-kontakt-scripting/kontakt-scripting-ksp-scroll-bar-vertical-scroll-area-auto-scroll-as-mouse-wheel-replacement/comment-page-1/#comment-9204 Sun, 30 Jul 2023 02:17:08 +0000 https://blog.yummybeats.com/?p=3574#comment-9204 In reply to YummyBeats.

OK so .. I have a group menu, when I select a group (menu item) I call a function which selects the same button used in the scrollbar to “on” I have added the the scrollbar value code to the function but although the scrollbar moves to where i want it to be, the button matrix in the scrollbar doesn’t move with it. Here is the function:-

  
function btnselect
if ($menu1 = 18)
$scrollbar := 22
set_control_par(%btn_id[45],$CONTROL_PAR_VALUE,1)
end if
end function
]]>
By: Noel Ram https://blog.yummybeats.com/ksp-kontakt-scripting/kontakt-scripting-ksp-scroll-bar-vertical-scroll-area-auto-scroll-as-mouse-wheel-replacement/comment-page-1/#comment-9203 Sat, 29 Jul 2023 22:47:33 +0000 https://blog.yummybeats.com/?p=3574#comment-9203 In reply to YummyBeats.

Perfect! Thank you for the quick response.

]]>