title: Applescript list for every three lines in a text file
body: <p>Say I have a text file like so:</p>
  
  <pre><code>apples
  pencils
  juice
  apricots
  John Doe
  the string system is amazing
  </code></pre>
  
  <p>I want a list created for every 3 items in the text file like so (as strings of course):</p>
  
  <pre><code>item list 1={apples, pencils, juice}
  item list 2={apricots, John Doe, the string system is amazing}
  </code></pre>
  
  <p>However, the text file will contain more than 6 lines and different text of the lines so it <strong><em>cannot</em></strong> be specific like:</p>
  
  <pre><code>set line1 of myfile to item 1 of mylist 
  set line2 of myfile to item 2 of mylist 
  set line3 of myfile to item 3 of mylist
  
  set line4 of myfile to item 1 of mySecondlist 
  set line5 of myfile to item 2 of mySecondlist 
  set line6 of myfile to item 3 of mySecondlist 
  </code></pre>