Is it possible to initiate Archi menu actions (e.g. close the active view) via a Jarchi script? Would be great to know how this could be done.
Yes, it's possible, but you have to be familiar with the underlying Java code:
var CLOSE = Java.type("org.eclipse.ui.actions.ActionFactory").CLOSE;
var action = CLOSE.create(workbenchwindow);
action.run();
Best thing would be to open a feature request so that it is exposed as a jArchi feature.
Ok, thanks. I will try to see if I can get my way around with looking into the underlying Java.