@msk-k is the parameter the id of the xml property from the gui?
@dacap any chance you could clear up the steps to get something listed under a menu?
In the example it uses “cel_popup” which I don’t see directly listed in gui.xml
instead I see things like “cel_popup_edit” would the group for mine be one be “cel_popup_myfirstcommand”?
Another example, if I wanted to put this under the menu bar like under “view” or “edit” how would I do that?
I have the plugin running as I’m seeing the print(“foo init”) in the example but I can’t find my command anywhere in the menus. right now mine looks something like this:
function init(plugin)
print("foo init")
plugin:newCommand{
id="dothething",
text="Do A Thing",
group="help",
onclick=DoTheThing()
}
end
function DoTheThing()
print("Doing a thing!")
end
Finally Even if I can’t find it in the menu, I also don’t see it listed under the keyboard shortcuts, do I need to define something specific for shortcuts?
Anyway thanks for any help anyone can provide! I’m excited to get this working!