Modified version of Max's Scripts menu

 From:  大道刀 (SUIYAN)
10353.18 
HI every one

请看如何使用 Larry的插件菜单定制自己需要的插件菜单。
1将下载的压缩包的Extras.htm、Extras.js文件放置在C:\Users\Administrator(username)\AppData\Roaming\Moi\startup
2:将Extras.htm使用记事本打开,并按图片所演示的进行定制修改:

1-蓝底部分是需要修改的部分,红色箭头部分需要在Extras.js的相同位置修改 是图标显示的名称,默认名称为Extras红色方框部分的分隔符不要做任何更改,橙色部分也是分隔符号,注意不要遗漏分隔符这样就可以自由更改所需要的脚本:分隔符—名称—分隔符(一个分隔符由三个独立的符号组成,如果默认分离,可以缩进到紧挨着,避免修改过程中的错误)将修改的Extras.htm Extras.js都替换保存为utf-8编码,让菜单能够显示其他语言。

The blue bottom section is the part that needs to be modified, and the red arrow section needs to be modified in the same position as Extras.js to display the name of the icon. The default name is Extras. The delimiter in the red box section should not be changed, and the orange section is also the delimiter. Be careful not to miss the delimiter so that you can freely change the required script: delimiter name delimiter (a delimiter is composed of three independent symbols, and if it is separated by default, it can be indented adjacent to avoid errors during the modification process). Replace and save the modified Extras.htm Extras.js with UTF-8 encoding, so that the menu can display other languages.


2-将moi安装目录内的目标脚本的.js .htm文件改为在Extras.htm刚写入的名称(主要是其他语言的名称)注意完全一致不要出现空格,不要填写*之类的特殊符号
Change the. js. htm file of the target script in the Moi installation directory to the name just written in Extras.htm (mainly for names in other languages), ensuring complete consistency without any spaces or special symbols such as *


3:-如果一切无误,您得到了定制菜单并能够正常使用脚本。If everything is correct, you have a customized menu and can use the script normally.


方法二:1:将Extras.htm中的var additional函数中的值全部删除,最终保留 var additional = [ ];(注意不要丢失;符号),这会让Extras.js不要读取moi安装目录/commands路径中的脚本。(Method 2: 1: Delete all values in the var additional function in Extras.htm, and ultimately keep var additional=[]; (Be careful not to lose; symbols), this will prevent Extras.js from reading scripts in the moi installation directory/commands path)

2:将需要的目标脚本.js,目标脚本.htm文件复制存入%AppData%\Moi\commands (C: \ Users \ Administrator (username) \ AppData \ Roaming \ Moi \ commands)路径,并修改你想要的任何语种,菜单将实时更新。
(Copy the required target script. js and target script. htm files into the path of% AppData% \ Moi \ commands (C: \ Users \ Administrator (username) \ AppData \ Roaming \ Moi \ commands), and modify any language you want. The menu will be updated in real-time.)
3:此方法适用于任何脚本,包括moi自带脚本以及没有htm配置文件的.js单文件脚本,仍需要注意文件名称不要出现空格,双文件版本的插件需要两个文件的名称保持一致。
(This method is applicable to any script, including a. js script with the moi itself and a. js single file script without an htm configuration file. It is still important to note that the file name should not contain spaces, and the dual file version of the plugin requires the names of the two files to be consistent.)

这个方法更为简明。This method is more concise.

EDITED: 24 Sep by SUIYAN