Modified version of Max's Scripts menu

 From:  Larry Fahnoe (FAHNOE)
10353.19 In reply to 10353.18 
Hi SUIYAN,

I'm glad that the script is helpful for you. I must say that you are to be commended in your efforts to make changes to the script, especially because you are unfamiliar with programming and because you must try to make sense of this mixture of English and Chinese characters. If I were you, I would be confused just looking at your screen!

A suggestion to make it easier to share programming information with others on the forum here is to enclose sections of code in "<code>program statements</code>" so that the formatting of the lines is preserved. This will be much easier to read than the screenshot. For example, the sections you are explaining needing a change:

This part is not code but instead a comment to provide information to others (it does not effect how the script executes):
code:
         /*
            Extras
            8/20/2022, Larry Fahnoe, fahnoe@FahnoeTech.com

            A modification of Scripts.menu.htm from Max Smirnov's
            CustomUI but intended for those who do not use CustomUI.

            Copy the Extras.htm and .js files to your personal startup
            folder.

            It would be nice if additional[] was not hard coded, but
            have not figured out a simple way to generate it.  These
            commands do not have buttons in the UI and are copied from
            the Additional Commands section of MoI's Command Reference.
          */


This is the section you are highlighting in blue:
code:
         var additional = [ 'ArrayGem', 'BoundingBox', 'BoundingBoxCenter',
                            'ExplodeMove', 'Flip', 'IncrementalSave', 'Make2D',
                            'Merge', 'Rebuild', 'RemoveDuplicates',
                            'ShrinkTrimmedSrf', 'ViewProject' ];
         var maxlines = 40;


Hopefully this will make the code portion clearer.

--Larry