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

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

Previous topic - Next topic



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?



Jean-Baptiste Sarrodie

If you value and use Archi please consider making a donation!