MoI Shortcuts Closed

 From:  Frenchy Pilou (PILOU)
2364.11 In reply to 2364.10 
I believe that Brian have some difficulties to memorize shortcuts for "Scripts" as they are numerous and not easy to see what make something only to read beginning of the line !

But seems that is quiet easy to add just /* something*/ after the words "script:" like this
code:
script:var gd = moi.geometryDatabase; gd.deselectAll(); var breps = gd.getObjects().getBreps(); for ( var i = 0; i < breps.length; ++i ) breps.item(i).getNakedEdges().setProperty( 'selected', true );


become
code:
script:/* Show Open Faces*/var gd = moi.geometryDatabase; gd.deselectAll(); var breps = gd.getObjects().getBreps(); for ( var i = 0; i < breps.length; ++i ) breps.item(i).getNakedEdges().setProperty( 'selected', true );


And if you want more simple to read seems not so too difficult to make a little js prog ;)
Copy all the line beginning by "Script:" in the NoteBook
and save as "Something.js" and put it in a folder "scripts" inside the Moi prog!
(create the folder "scripts" if this one is not existing) ;)

Result will be on the Command column of the Option Shortcurts
Something.js
with the example above that will be for example
Show Open Faces.js
Not so a big deal :)

Here with a French result example ;)

EDITED: 29 Jan 2009 by PILOU