OK I;ve searched for this, but can;t find the answer anywhere, so time to step up and ask a dumb question - if I use airlite/stream deck or even MIDI remotely, I seem unable to determine which cartwall page is active,nor how to set the page I want remotely - cant find a command anywahere - is suchj a thing possible?
Use case: I have cartwall pages set up by category - Station/DJ Drops, then 70s,80s,90s etc each having their own pages. I want to be able to select which page I need remotely, then play a carat from that page…
@Torben: No need to act, just found this here in stock:
procedure CartDeselect;
var
i: integer;
begin
for i := 1 to Cartwall.GetPlayerCount do
ExecuteCommand('CARTWALL ' + IntToStr(i) + ' DESELECT');
end;
procedure OnExecuteCommand(Command: string);
var
Cart: integer;
begin
if Copy(Command, 1, 20) = 'CARTWALL SELECT PAGE' then
begin
Cart := StrToInt(Copy(Command, 22, Length(Command) - 20));
if (Cart > 0) AND (Cart <= Cartwall.GetPages.GetCount) then
begin
CartDeselect;
Cartwall.SetActivePageIndex(Cart - 1);
CartDeselect;
end;
end;
end;
begin
end.
Install as a background script and use the command CARTWALL SELECT PAGE 1 (or respective number).
Thank you, @Tondose! OnExecuteCommand is exactly the way to go. I just don’t understand the purpose of the DESELECT commands; you don’t need them if you are not using cart selection anyway, and you just want to switch between pages.
Anyway, I have just uploaded snapshot 5835, and the command is now available as CARTWALL PAGE <number>.
@Torben: It’s been a while, so I can’t remember. Maybe there were issues with selected carts while changing pages. Or it was just to be safe not to have selected carts in the background at some point in time.