Some scripts (eg. encode.js, InsertComments-ENG.js, js_beautify.js,
js_beautify_php.js, JSpacker.js, regex_tester.js) have one little problem in
addMenuItem(...) function call: they haven't 4th param - HotKey. And of course -
3 main params mustbe declared in lower case.
For example:
_Module: regex_tester.js_
var module_name = "RegExTester";
var module_ver = "0.1";
var module_title = "Regular Expression Tester"
// in this case we have problem (4th param & case):
function Init() {
addMenuItem (MODULE_TITLE, "", MODULE_NAME);
}
// and there is NO problems and all work well
function Init() {
addMenuItem (module_title, "", module_name, "");
}
have fun :)
--
<http://forum.pspad.com/read.php?2,48650,52850>
PSPad freeware editor http://www.pspad.com