Stop program, back to editor?

Is there some way to stop the program programmatically? I know how to get the return arrow back from full screen, but would like to return to editor with a “button”. Thanks!

@RonJeffries -

close()

Thanks, sure couldn’t find that.

Me neither, someone posted it on the forum a whiLe back

Apparently neither of you look thru the reference. It’s located under Display & Keyboard, Viewer Actions. A lot of times, I know I can do something but I forget the syntax of the command and I have a hard time finding it in the reference, even using search.

that explains why I couldn’t find it