I'm juste learning very basic plugin writing.
I try to make an alert with the text that be inputed in the addstringparam.
So here is my action in the edittime.js
// Actions
AddStringParam("Set the text", "The text to set in the alert box.");
AddAction (0, 0, "Set text to display", "General", "Display: {0}", "Display text in an alert box", "SetText")
and here is my action in the runtime.js
// Actions
pluginProto.acts = {};
var acts = pluginProto.acts;
acts.SetText = function (text)
{
alert(text);
};
I don't really know javascript but have some basics. This way doesn't display anything.
Can you help me to solve that basic problem.
Thx