archi-scripting-plugin
archi-scripting-plugin copied to clipboard
Allow Jarchi scripts to trigger menu actions
It would be great to have a possibility to start Archi UI menu actions via a Jarchi script without having indepth knowledge of the underlying Archi java software architecture. Maybe it is possible to extend the current Jarchi DOM with Archi UI menu functions.
Can you provide more details regarding which menu actions and what the use case is? We also have to be careful not to go too far with the jArchi API, otherwise there is a danger of duplicating much of the underlying Java code with JS wrapper code.
I am particularly interested in triggering the Collaboration menu actions (refresh model, commit changes and publish changes).
I am particularly interested in triggering the Collaboration menu actions (refresh model, commit changes and publish changes).
That's interesting because I thought about it some time ago. I think the best solution would be that plugins "expose" some actions/api to jArchi, instead of the opposite. This could be similar to what have been done with Archi run from commande line.
Caveat: I don't know how to do it.
I would have a publication use case for this feature. I have a model with 19 views. I commonly publish the models to pdf for distribution. I use the File/Export/View as Image function to produce the PDFs. Executing this 19 times for each publication cycle takes a bit of time that I'd like to automate.
I'm told that jarchi can already programmatically manipulate and save views as PNGs. But I am left with the manual task of printing to PDF - so no real time savings or accuracy improvements there.
Just a thought for you. Thanks
But I am left with the manual task of printing to PDF
Please open a new feature request - export views to more than PNG format in jArchi,
I would like to be able to trigger the Magic Connector, this way maybe I could create a keyboard shortcut for this.