How to get past a UI button prompt with a macro?

I’m trying to build a macro that creates a mesh from planar curves. But the Mesh command opens a prompt which I can’t seem to get passed with any of the macro syntaxt that I know…

Any ideas?

Hi Simon -

Use a dash to suppress dialog boxes => -mesh
Also see Rhinoceros Help for macro syntax.