Change an mobile App via script

I'am trying to change to another mobile app via utils.openApp() but that doesn't seem to work.

I tried navigator.openApp() like the event handler UI seems to us but it wont work in a script.

Is there a way to change a mobile App via script?