Using PangoScript to toggle destination cues

Hi, I'm trying out a workflow using destination cue types in conjunction with groups in Beyond. One destination cue will output zones 1 & 4 to group 9, and another will output zones 2 & 3 to group 10. I will always want to trigger both of these destination cues at the same time

This works fine, but I have all my destination cues in a single page and then the cues themselves on other pages and I don't want to have to switch to the destination cues page and hit two buttons at once every time I want to change the zone routing live and then switch back to the other cue pages.

I have tried creating Pangoscript to toggle two cues when I press a certain button on my APC40 Mk2 but it doesn't work. The page flashes on the left to signify that something therein is active, but neither of the cues are actually active. The corresponding buttons also light up on my APC mini which suggests they are selected but they just aren't in the Beyond window. I've tried using the same script to trigger normal shape type cues and it works as expected whih makes me think that ToggleCue function only works on specific cue types.

Can anyone confirm this, or suggest another way to achieve the same thing?
I then thought of just mapping zones to groups directly in Pangoscript upon button press without using the destination cues but can't see any relative commands in the wiki or help.
The script for the button is below

Code:
ToggleCue "dst-g9-1245"
ToggleCue "dst-g9-3"
MidiOut 0x9A, 0x20, 54; // Flash purple
 
Back
Top