Yes, I was aware of the documentation—I can't see how to get the open or new actions to do what I’d like. I expect that a workflow (command) would do the trick, but I’m still looking at how to make it work.

Excellent. Thanks for this—combining this with the fact that a URL scheme can just run a workflow without opening an existing file or making a new one means I can do exactly what I want. That’s perfect.