Jarmo gave you the best way how to use Jmp to do things for you: use the GUI and then
Alternatively, you can call commands in the main menu via:
main menu("move up")
the argument is the "Internal name" which can be found via View/Customize/Menus and Toolbars:
For built-in commands there is no benefit - even a disadvantage: there is no return value
But for custom commands (from AddIns) this a very convenient way to trigger them via JSL (without the help of the log)
- because triggering an AddIn is one of the Actions missed by Advanced Log/Workflow Builder