1 Reply Latest reply on Aug 26, 2008 7:20 AM by (Dave_Saunders)

    [JS] How to export text that is in the script

    Tom Tomasko Level 1
      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