A script for jsui object in Max/Msp.
Max 6.14 or higher. (confirmed version. It would work in any of your Max environment actually.)
- Put jsui-scrollbar.js (add to your project if you make M4L device)
- Make a new object (
nkey) and type
jsui jsui-scrollbar.js (whole width of target subpathcer) (width of scrollbar area) - Connect patch from the outlet of jsui to
offsetmessage it leads to the targetbpatcher's inlet that follows tothispatcher.
- Whole width of target subpatcher.
- Width of scrollbar area.
- Draw vertical bar when 1, otherwise horizontal. [TODO]
float value will set offset value. [TODO]
jsui has only one outlet and it outputs integer number for offset value of the target subpatcher.
