Scripts

Top  Previous  Next

Elementary Reports has a built-in scripting system: DracScript.

 

DracScript is Copyright 2006-2007 DracSoft.  DracScript is written in PureBasic and is a PureBasic-like scripting language.  Licensed under the LGPL (www.gnu.org) with an exception: May be statically linked and included into a program, code must maintain the original comment header.  The source code to the currenly used DracScript language is in the DracScipt.zip file that is in the Elementary Reports directory.  If you create any scripts then please make a donation to the author of DracScript using paypal.  The e-mail address is: cyberneticwraith@phreaker.net

 

Using DracScript and Elementary Reports:

 

With DracScript you or third parties can add extra functionality to Elementary Reports.  DracScript can be used to create simple programs that can be executed by an Elementary Reports user from a special menu that will appear when a script has installed.

 

To install a script you just copy the script to the ‘scripts’ folder in the Elementary Reports data directory, and then start Elementary Reports.  Scripts are cached, so if you make changes to a script you should restart Elementary Reports to use the new version.

 

After a script has been installed, a new menu will be present in Elementary Reports – the “scripts” menu.  Use this menu to execute your scripts.