NEW Menu Default application

hi,

How can I set the default application of a menu from code? I have to change the initial application, based on some variables.
sc _redir(“xxxx”) not work open application not menu

thanks

set as default app in the menu a blank app called home, in this blank app use the code you like and then use sc_redir.