And here is the code:
%NamedClipboard%my-first-value%__Value ONE|%NamedClipboard%my-second-value%__Value TWO|%NamedClipboard%my-third-value%__Value THREE
The idea is not to leave the dialog box: we make a choice in the popup menu, we click on Copy, then we make another choice in the popup menu and we copy a second time. We click on Cancel to exit the dialog box.
Thank you Noisneil for your attention.
Sorry, my approach is completely stupid. I'm going to think again about this and find another way.
This post is now obsolete: I will delete it in a few minutes.
Thanks again Noisneil...
For posterity’s sake, the moderators usually leave these in place as they can be valuable learning tools for future users. So you can simply mark your last comment as the solution if it works for you, and this way people browsing the forum can see what you were dealing with as well as the solution provided.