I've realized the plugin toggle and it's verification very easily. So I think this plugin is really necessary.
But, if I'm not too exigeant (am-I?), I think it would be great to add in util (or perhaps in luamacros, or in the two) some functions as a filebox to improve some functions which need a filename with path or a path, as :
No, you don't understand what I said, or my explanations are bad.
I think it will be good to have a button to navigate on the disk to choose a folder or a file as we have for 'Save as ...' menu entry, for example.
I also think a function to read a registry key, another to read inifile key (I don't talk of write registry key or inifile key, because some guys aren't probably ok for this)
And I suppose strangely why you make plugin, because you could make "Km_Plugs.exe".
Km_Plugs works, but I think the less we have as external tools, the better it is.
But util has the functions I need for testing and renaming plugins, and I made it with a macro and no nore need of Km_Plugs.
I think good that you will become a maintainer of utils plugin.
Sorry, my expression is too bad. The message I posted last is mixed two topics.
1: I saw a plugin is suitable to implement what you would write.
2: I wrote utils plugin as for a small example of K-Meleon's plugin. I hoped someone who looked the plugin would write another plugins or extend the plugin by oneself.
I know a maintainer is leader who develops and manages a software.
Thanks.
Hmm, I hadn't thought of a sample about new functions. However I had added some explanation to readme.txt about new functions with templates of calling.
In readme.txt, $default is default file (or folder) name such as
I was surely a little tired, when I read the readme.txt.
Yes there are examples, and all works great.
I have just some remarks.
Regread()
---------
I've search a moment for default values. I know now the string must \\ finished.
Macros.dll seems not to appreciate directly the key in the command line, but it works great with $key.
GetOpenFileName() and GetSaveFileName()
-----------------
Would be better, if we could pass also a $default folder parameter (as for SelectDirectory)
exists(), rename(), read(), write(), append() and SelectDirectory()
-----------------
Perfect!
Thanks a lot for this really nice plugin.
@Fred,
Wait a little moment before making a RC2, a lot of macros may be greatly improved with this nice k-plugin )
And the expression of registory key is borrowed from WSH and others. This plugin supports types REG_DWORD and REG_SZ.
Would be better, if we could pass also a $default folder parameter (as for SelectDirectory)
Sorry, it isn't supported. But I made sure that I could include path and wildcard on default filename, such as "C:\\Program Files\\K-Meleon\\kplugins\\*.dll". This trick is little ugly, but works well.
I think now I have all I want to improve some things.
I really think it's as dangereous than exec command in macros command, and not more, and really better than it, which is not able to wait the end of the process ...
* exec command doesn't wait infinity for safe. (waits 10 sec)
* exec and sleep commands wait 10 sec at least for over maximal wait.
Previous version ignores long wait.
* new commands GetOSVer, EncodeUTF8, DecodeUTF8, urlescape
Just an idea, but I'm currently a HUGE fan of Autoit. While it can do a lot (including GUI's and registry manipulations), it can also create stand-alone EXEs and DLLs! I've been complaing about a few plugins I wanted made, and even tried to code them. Now that I'm getting better at Autoit (and the LUA plugin doesn't support advanced GUIs), I'm going to try to implement my ideas with Autoit. What do you guys think about that?