MoI discussion forum
MoI discussion forum

Full Version: Command Palette ⚡ Keygroups (new)

Show messages:  1-5  6-25  26-33

From: stefano (LIGHTWAVE)
9 Jun   [#26] In reply to [#25]
Hi Suiyan, thanks for your feedback, I just tested on my V4
and I currently use windows...

Takeaway: Will fix it if i can of course, right now
not sure what could be the issue now - see edit

Cheers

Stefano

EDIT
V4 - Works for me but i have only done this one test so far..


Are you using MAC or Windows might be my first question...

Image Attachments:
command_pallete_150_V4_quicktest.jpg 


From: 大道刀 (SUIYAN)
9 Jun   [#27] In reply to [#26]
优秀,在v4中popout弹出成功了,原因是之前我把脚本文件放在了Program Files\MoI 4.0\commands而不是\AppData,那么这个问题在v3中有解决的办法吗?我的伙伴仍将V3作为主要版本使用,而v3没有\AppData路径吧?谢谢,非常优秀的脚本。(Excellent, popout worked in v4. The reason is that I had previously placed the script file in Program Files\MoI 4.0\commands instead of \AppData. Is there a solution for this issue in v3? My partner still uses V3 as the main version, and v3 doesn't have a \AppData path, right? Thank you, this is an excellent script.)
From: stefano (LIGHTWAVE)
9 Jun   [#28] In reply to [#27]
Hi Suiyan, Thanks for the feedback and glad you got something working.
I also have V3 and saw nothing worked there...I can maybe find out if its viable
to make it work there but so far i did all my testing in V5.

I have some other plans that will maybe want to use V5 new feature-set
but ok - let's see whats possible...and keep this as "open ticket" for now.

Cheers again Stefano

edit:
currently you can get a buggy version of CP1.5
in V3 put the two files commandpalette.js and
commandpalette.htm

in:
C:\Program Files (x86)\MoI 3.0\commands

Modals do not work but a partially working
panels keygroups and command palette
works in the MOI UI area...

Image Attachments:
CP150_V3_partial.jpg 


From: 大道刀 (SUIYAN)
13 Jun   [#29] In reply to [#28]
HI,在v3中组无法被保存,意味着组相关的功能都无法正常使用。个人认为跟/AppData路径相关,在v3中也无法生成CommandPalette.keygroups.txt文件。(Hi, in v3, groups cannot be saved, which means all group-related functions cannot be used normally. I personally think it has something to do with the /AppData path, as the CommandPalette.keygroups.txt file cannot be generated in v3 either.)抱歉我的附件容量已经几乎用完了只剩20KB所以无法上传图片或视频。(I'm sorry, my attachment capacity is only 20KB, so I can't upload pictures or videos.)
From: stefano (LIGHTWAVE)
13 Jun   [#30] In reply to [#29]
hi suiyan, im not sure i can support v3 as its 11+ years old and i also dont know the intricacies of all the
ways it works api, webkit differences etc...getting the existing tool where it has got took me ages,
maybe a lite v3 version is doable. but i want to make the existing command palette better first...

not promising anything but
a good starting point would be to know what your main
requirement is....

So if you could only have one is it:.
keygroups or commands?
From: 大道刀 (SUIYAN)
13 Jun   [#31] In reply to [#30]
keygroups,无法保存组,popout功能和commandpalette <yourkeygroupname> modal功能在v3中无法使用。(Keygroups, Failed to save group, the popout feature, and the command palette <yourkeygroupname> modal feature are not available in version 3.)
这张图的蓝色光圈证明我点击了鼠标右键,但没有反应,CommandPalette.keygroups.txt也无法生成。
(The blue halo in this image indicates that I clicked the right mouse button, but there was no response, and CommandPalette.keygroups.txt could not be generated.)

https://i.imgs.ovh/2026/06/14/70dac466f5b0d41e96110b651e92edaa.png

在v4,v5中如果CommandPalette.htm,CommandPalette.js位于\MoI 4.0,5.0\commands时popout,command palette <yourkeygroupname> moda功能显示为12014.25正常窗口大小但空白,但group功能能够正常使用因为CommandPalette.keygroups.txt能够正常生成,因为在v4,v5中有默认的\AppData目录。
(In versions v4 and v5, if CommandPalette.htm and CommandPalette.js are located in \MoI 4.0,5.0\commands, the popout command palette <yourkeygroupname> moda function displays as 12014.25 with a normal window size but is blank. However, the group function can be used normally because CommandPalette.keygroups.txt can be generated normally. This is because there is a default \AppData directory in versions v4 and v5.)

在v3中,首先弹出的窗口不是正常尺寸,我想这是因为版本差异,所以popout以及相关的command palette <yourkeygroupname> modal功能不好在v3中实现。但是命令编组功能应该是基础功能吧,如果没有的话,脚本就只能搜索命令和翻页了。
(In v3, the first pop-up window is not of normal size. I believe this is due to version differences, so the pop-up and related command palette <yourkeygroupname> modal functions are not necessary in v3. However, the command grouping function should be a basic feature. If it's not available, scripts can only search for commands and page through.)

https://i.imgs.ovh/2026/06/14/dbb606897ae62a35396ba4d21e64fd8e.png
From: stefano (LIGHTWAVE)
14 Jun   [#32] In reply to [#31]
hi suiyan,

This current tool wont work properly in v3
this tool is exclusively tested in v5

when you say about a blank window you also say

"(In versions v4 and v5, if CommandPalette.htm and CommandPalette.js are located in \MoI 4.0,5.0\commands ",

For clarity, the script files

commandpalette.htm
commandpalette.js

currently go in appdata-commands,
(not programme-commands)

"
On Windows you can find the Moi appdata folder by typing Win+R to bring up the Windows "Run" dialog and then type in:
%AppData%\Moi\commands
On Mac from a Finder window, go to the menu and pick Go > "Go to folder" and type in:
~/Library/Application Support/Moi/commands.
"

I like to say for you in particular...If a keygroups solution ever comes for v3 it can only be a one off "curiousity experiment" and would likely be different or "lite"...

im thinking about it of course...

how many keygroups you want 1? or 25?
From: 大道刀 (SUIYAN)
15 Jun   [#33] In reply to [#32]
>how many keygroups you want 1? or 25?

5,我只是想既然有按钮就该能实现相应的功能。不过保持原样也行,优先完成这个脚本其它功能的开发。(5. I just think that if there's a button, it should be able to achieve its corresponding function. However, keeping it as it is is also fine. We should prioritize completing the development of other functions in this script.)

Show messages:  1-5  6-25  26-33