Re: scripting
Posted by
dxli on
Jul 24, 2015; 7:38pm
URL: https://forum.librecad.org/scripting-tp5711935p5711937.html
I don't quite understand the qt scripting.
If it's useful, I think we should support it.
However, the probably solution is still a real scripting language: like Lua in v3, or python.
ravas wrote
Are we going to support scripting in v2?
If not, then I want to remove the following:
#ifdef RS_SCRIPTING
// Scripts menu:
//
scriptMenu = new QMenu(tr("&Scripts"));
scriptMenu->setObjectName("Scripts");
scriptOpenIDE = AF.createAction("ScriptOpenIDE", this);
scriptOpenIDE->addTo(scriptMenu);
scriptRun = AF.createAction("ScriptRun", this);
scriptMenu->addAction(scriptRun);
menuBar()->addMenu(scriptMenu);
#else
scriptMenu = 0;
scriptOpenIDE = 0;
scriptRun = 0;
#endif