Evaluator runs multiple internal commands?

For example?
{=if (pathtype(source) != "shell") {return "dopusrt /argsmsgbox Hello; dopusrt /argsmsgbox Hi"}=}

What is the context that this Evaluator code is being used in?

It's a button.

Buttons can't run more than one command per line, and the Evaluator is just producing lies in that context.

But you can do it like this:

{=if (pathtype(source) != "shell") {return "dopusrt /argsmsgbox Hello"}=}
{=if (pathtype(source) != "shell") {return "dopusrt /argsmsgbox Hi"}=}

(You could also store the condition in a variable to avoid repeating it on each line, if it's a complex test or there are lots of lines. Not really needed here though.)

OK :upside_down_face: