MoI discussion forum
MoI discussion forum

Full Version: Modified version of Max's Scripts menu

Show messages:  1-8  9-28  29-31

From: 大道刀 (SUIYAN)
25 Jun   [#29] In reply to [#28]
HI Larry
现在Extras非常好用了。简单的说菜单会同时显示 var additional=[] 中的脚本名称值(首先moi安装目录/commands 路径下对应的脚本名称。)和 %AppData%\Moi\commands 中所存储的脚本名称值。(Now Extras is very useful. Simply put, the menu will display both the script name value in var additional=[] (first, there is a corresponding script name in the/commands path of the moi installation directory) and the script name value stored in% AppData% \ Moi \ commands.)


我之前的修改方式是先在添加 var additional=[]中添加所需脚本名称的值,用utf-8编码存储,然后将moi安装目录/commands 路径下的相应脚本改为var additional=[]中的对应值,这样就可以得到我想要的显示的语言和名称。而现在只需要将脚本复制到%AppData%\Moi\commands中,改为我需要显示的名称。(My previous modification method was to first add the value of the required script name in var additional=[], store it in UTF-8 encoding, and then rename the corresponding script in the/commands path of the Moi installation directory to the corresponding value in var additional=[], so that I can obtain the language and name I want to display. And now all I need to do is copy the script to% AppData% \ Moi \ commands and change it to the name I need to display.)

Image Attachments:
1.png  2.png  3.png 


From: Larry Fahnoe (FAHNOE)
26 Jun   [#30] In reply to [#29]
Hi SUIYAN,

I think that you are misunderstanding the intended function of this script, so maybe an example of what it looks like on my system would help:



The dividing line is intentional because the commands above it are those that are built-in to MoI, but do not have icons in the UI; these are the contents of the additional array. The commands below are the scripts in my personal commands directory. The separator serves to remind about the two categories of commands beyond what is already provided by MoI's UI. Now maybe it will make sense why I do not want to change the way Extras works. You of course are welcome to take the code and adjust it as you see fit. I would only request that you call your version something other than Extras.

--Larry

Image Attachments:
Extras example.png 


From: 大道刀 (SUIYAN)
27 Jun   [#31]
HI EVERYONE

我上传了我的插件管理菜单版本,它支持多语言,删除了var additional中的值让它们不再显示C:\Users\Administrator\AppData\Roaming\Moi\commands之外的插件,方便管理。增加了表头的显示和定制,去除了关闭按钮,下划线,并且可根据安装说明、注释,按需要恢复完全它们。
(I uploaded a version of my plugin management menu, which supports multiple languages. I removed the value in var addition to make them no longer display plugins other than C: \ Users \ Administrator \ AppData \ Roaming \ Moi \ commands, making it easier to manage. Added display and customization of the header, removed the close button and underline, and can be fully restored according to installation instructions and comments as needed.)

在#18的讨论中可以下载到它(It can be downloaded in the discussion of # 18&# 20)




我想继续改进它,增加一个或几个额外的调用路径有可能在菜单中按所在文件夹的名称分类显示,方便脚本的分类管理,我对编程了解的非常少,请问我该怎么做?(I would like to continue improving it by adding one or several additional call paths that may be displayed in the menu according to the name of the folder they are located in, making it easier to manage the classification of scripts. I have very little knowledge of programming, what should I do?)

Image Attachments:
1.png  2.png 


Show messages:  1-8  9-28  29-31