When I started to write a report in ARIS, I did not have the "Hello World" to help me out. So here is something you will need to launch ARIS report scripting.
function main()
{
var g_nloc = Context.getSelectedLanguage();
// *******************
var oobjects = ArisData.getSelectedObjDefs();
var oSourceModels = ArisData.getSelectedModels();
var odataBases = ArisData.getSelectedDatabases();
// *******************
var ooutfile = Context.createOutputObject(Context.getSelectedFormat(), Context.getSelectedFile());
ooutfile.Init(g_nloc);
ooutfile.Output("Hello World", "Arial", 10, Constants.C_BLACK, Constants.C_TRANSPARENT, Constants.FMT_LEFT | Constants.FMT_BOLD, 0);
ooutfile.WriteReport(Context.getSelectedPath(), Context.getSelectedFile());
ooutfile=null;
}
main();