5 Replies Latest reply on Apr 1, 2015 1:30 AM by rombanks

    framescript: write to text file

    rombanks Level 1

      Hello fellows,

       

      When I loop through a list of book files and write their names to the FM console, the full list is displayed. However, when I write the list to a text file, only the 1st file name is written. Any ideas why?

       

      Loop ForEach(BookComponent) In(vCurrentBook) LoopVar(v_File)

      ...

      Write Console v_File;

       

      vs.:

       

      Set vPath = v_UserPath+DIRSEP+'_'+'Test'+'.txt';

       

      New TextFile File(vPath) NewVar(vFile_Listing);

       

      Write Object(vFile_Listing) v_File;

       

      EndLoop

       

       

      Thank you for your input in advance!

      Roman