felipEx
Scripting Contest Winner
Posts: 378 Reputation: 24
35 / /
Joined: Jun 2006
|
RE: [UPDATE]TypingInvisible
code: function OnGetScriptMenu(nLocation) {
if (Address[i] !== 0) return "<ScriptMenu>"
+ "<MenuEntry Id=\"Enable\">" + (Active ? "Desactivar" : "Activar") + "</MenuEntry>"
+ "<MenuEntry Id=\"ShowOptionsWindow\">" + ("Opciones") + "</MenuEntry>"
+ "<MenuEntry Id=\"Interop.Call('user32','MessageBoxW',null,'TypingInvisible 2.1 Creado por TheGuRuSupremacy','Acerca de TypingInvisible 2.1',0)\">" + ("Acerca de...") + "</MenuEntry>"
+ "</ScriptMenu>";
}
function OnEvent_MenuClicked(sMenuId, nLocation, iOriginWnd) {
if (eval("typeof(" + sMenuId + ")") == "function") eval(sMenuId + "();");
}
a little change
|
|