Parametric design in MoI?

 From:  Psygorn (DRILLBIT)
7713.897 In reply to 7713.895 
Is that it:



I used this piece of code for a short key:

script: if ( moi.majorVersionNumber == 3 ) { moi.ui.createDialog( 'nodeeditor/index.html', 'resizeable,defaultWidth:680,defaultHeight:420', moi.ui.mainWindow ); } else if ( moi.majorVersionNumber == 4 ) { moi.ui.createDialog( 'moi://appdata/nodeeditor/index.html', 'resizeable,defaultWidth:680,defaultHeight:420', moi.ui.mainWindow ); }

Does the above code works by omitting the term "script:" ?

I think it does work with or without it!

EDITED: 6 May 2021 by DRILLBIT