Posted: Tue Aug 09, 2022 4:17 pm Post subject: CE Plugin Collector (Menu Builder)
To explain with an image;
It can be used to create a plugin for CE or to register the plugin in the menu.
Contents;
1) Code can be added from the file, edited and saved to the menu.
2) Existing records can be edited.
3) All the plugins you have registered are listed in one file and one menu in CE.
4) Name and hotkey can be assigned or changed to the plugin for menu use.
5) You can import the plugin code you created in Lua Script and save it as a plugin.
6) Plugins you create in the menu will not be loaded or activated since CE opening.
You just click and activate it when you want to use it. This will save the CE from unnecessary burdens.
Differently;
Browse codes for creating, saving, editing or uploading files.
Since I am a little lazy, my codes are not regular and I may have made unnecessary assignments. Edit as you wish.
Next update I can add standalone (separate from Common menu and can be activated at CE boot) plugin save and edit option.
Feel free to comment if there is a different request or error.
See you on a different issue.
Add_Plugin_Org.lua
Description:
Just download the file and put it in the CE-->autorun folder.
If you are lazy to find the "autorun" folder; Open CE and paste the following code in "Lua Script Cheat Table" and run it:
Path = getAutorunPath()
shellExecute(Path)
CE has a 'plugin' system,
which for some native (c) / dotnet *.dll to merge with some ce's native api to extend ce functionality,
which is not the same as lua 'extension' run from autorun folder,
The well-known 'stealth-edit' is an example.
This 'plugin' system can be managed within CE setting.
There are some sample sources to be compiled in plugins folder.
I would suggest avoid using the word 'plugin' if it is unrelated to this system
ADDED:
If it is about collection of lua codes not run from autorun, may named,
Extra lua Modules;
Handy lua Snippets ;
Fantastic lua Collections;
Awesome lua Repository;
etc _________________
Error:[string "mf = getMainForm()..."]:15: attempt to index a nil value (local 'fnc1')
Thanks for the warning. I will look at this again.
There may be a problem with the naming.
It's probably related to the hotkey.
panraven wrote:
ADDED:
If it is about collection of lua codes not run from autorun, may named,
Extra lua Modules;
Handy lua Snippets ;
Fantastic lua Collections;
Awesome lua Repository;
etc
These examples are so cute.
I gave attached names like "plugin1".
I am sure they will read your note and maybe they will take it into consideration.
On the other hand, I hope these are mostly used for personal extensions.
Oops! Using the generated extension again and again will "loadstring" the extension code every time. This could be the problem. I have to add a line of code that will "Destroy()" it on second use (First loaded).
As a result; it was a fun project. _________________
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum