Palettes as masks in copy command?

Hi Guys

So I want to re-call the state of my blue wash from Cue 10 into the programmer while sitting in a different cue. My blue wash is Group Palette 10.

I find that I can type

Cue 13 Group 10 Copy State Enter

and all is good, but I want to press the palette for my blue wash instead of typing 'Group 10'. When I do that, pressing the palette dumps what I've typed and starts a new command.

Is there a way to do this? This feels pretty basic, but I can't find it in the manual?

Thanks