Hi Torben, is there an option to load cartwalls via a script?
Much in the same way as playlists, I have been asked if cartsets could change at scheduled times via a script. This way as a presenter changes, his or her favourite bank of carts would be ready loaded.
Turns out to be easy-peasy 8), thanks to Charlie’s helpful clue about commands.
begin
ExecuteCommand(
'CARTWALL LOAD SET ' +
'C:\wherever\whatever.mlc'
);
end.
Obviously you can amend this to account for date/time stuff, as in scripts passim. Note that you DO need the space after SET in the command!
Also note that in general—providing one exists—you should always use the pukka scripting statement (like LoadPlaylistFromFile) to do something, instead of using ExecuteCommand. ExecuteCommand should be reserved for use on those few occasions (like the present one) where there is no specific scripting command but there is an equivalent ‘standard’ mAirList command.
But again: if Charlie hadn’t mentioned Commands, it wouldn’t have clicked in my head when I later found ExecuteCommand in the mAirList Script Help file!