Question
[JS] How to export text that is in the script
I would like to export to a .txt file text that is in the script itself, not text that is in the ID document. Specifically I want to make a text file of the information that is in an alert.
Why does this not work?:
var someText = "Hi there";
someText.exportFile(ExportFormat.textType, File("/c/myText.txt"),true);
Thanks,
Tom
Why does this not work?:
var someText = "Hi there";
someText.exportFile(ExportFormat.textType, File("/c/myText.txt"),true);
Thanks,
Tom