Great you got it working. The API is a total mess and while I no longer do much scripting, I just happened to read your topic by accident and knew the answer was yes...
Best of luck!
Tom
Code: Select all
CursorRemoteControlsPage page1 = device.createCursorRemoteControlsPage("_", 8, "1");
CursorRemoteControlsPage page2 = device.createCursorRemoteControlsPage("_", 8, "2");
...
Code: Select all
remoteControlsBank.pageNames().addValueObserver(pageNamesChanged));Code: Select all
RemoteControlHandler.prototype.pageNamesChanged = function(){
page_names = this.remoteControlsBank.pageNames().get();
index = 0;
if (this.page_index < page_names.length) index = this.page_index;
this.remoteControlsBank.selectedPageIndex().set(this.page_index);
}Damn! It worked!! I did not believe it anymoreheins wrote: Mon Jul 27, 2020 7:48 pm I only get this reliably to work by matching the page tags, the name of the page seem not to be relevant. Each page needs to have just one unique tag for example the first page "1", the second page "2", etc... then in software you can access all pages like this:Code: Select all
CursorRemoteControlsPage page1 = device.createCursorRemoteControlsPage("_", 8, "1"); CursorRemoteControlsPage page2 = device.createCursorRemoteControlsPage("_", 8, "2"); ...
Did you achieve something else for the BCR2000??hydrogxn wrote: Sat Apr 11, 2020 12:29 amright that would be cool but what if you wanted to control both banks at the same time? probably not possibleTj Shredder wrote: Thu Apr 09, 2020 9:52 pm He has a controller with 16 knobs/encoders...
That should be possible: if moved knob is part of the first collection switch to the first, if knob is part of the second collection switch to the second bank...
This is what I'm up against right now. Trying to figure this out to map the BCR2000 to the first 4 pages of the device presets.
and to go even further... i'm really just wanting the first 4 knobs of each of the first 8 pages in the device presets. Will see if its possible.
For my first test i'm just trying to get it working with multiple remoteControls and cursorDevices. So far it seems it seems like the CursorRemoteControlsPage.selectedPageIndex() is not unique per cursorDevice! so I'm at a loss here.
i've also tried making a very large control page... cursorDevice.createCursorRemoteControlsPage(32) but it doesn't seem to extend past the first page so its unhelpful as well...
Submit: News, Plugins, Hosts & Apps | Advertise @ KVR | Developer Account | About KVR / Contact Us | Privacy Statement
© KVR Audio, Inc. 2000-2026