You can perform any open command same way as you do in visual setup of open command. To use this function, please use a visual dialog located in the editor top bar.
myscada.openCommand(options);
Also, more details, can be found in chapter Open Command.