shortcut menu

 From:  feirui445
9758.39 In reply to 9758.36 
hi Michael:

script: var panel = null; try { panel = moi.ui.getUIPanel( 'moi://ui/SidePane1.htm' ); } catch(e){} if ( panel ) { panel.moiWindow.close(); } else { moi.ui.createDialog( 'SidePane1.htm' ); }

The result is right

Thank you for your hard work.