Ahh, right! That's an interesting point. I don't think there is a way to do that at the moment.
If E.showMenu exported the scr object then I guess you'd be able to do m=E.showMenu();m.select(menuItemIndex); but right now I don't believe it can be done
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Ahh, right! That's an interesting point. I don't think there is a way to do that at the moment.
If
E.showMenu
exported thescr
object then I guess you'd be able to dom=E.showMenu();m.select(menuItemIndex);
but right now I don't believe it can be done