How can I write to a file that I specify programmatically?

Started by Iver, April 16, 2021, 03:10:56 AM

Previous topic - Next topic

Iver

Hi,

I know how to write to a file that I specify using window.promptSaveFile(...), but I would like to run a script from the ACLI in which the file path and name is specified in the script itself or passed as an argument to the script (via the ACLI, as documented in the wiki). 

I can't seem to figure out how to open such a file in a jArchi script.  How can I do this?

Regards,

Iver

Jean-Baptiste Sarrodie

If you value and use Archi, please consider making a donation!
Ask your ArchiMate related questions to the ArchiMate Community's Discussion Board.