title: Using a csv file with imacros
body: <p>I have this script that works with imacros, but when i convert the code to javascript its giving me an error: <strong>"Data source file does not exist, line: 1 "</strong></p>
  
  <p>The script is simple, it gets the info from line 1 on the csv file and submits it as a comment on a site. </p>
  
  <p>I'm guessing the way the data source info is set is not cooperating with javascript so how should I do this, </p>
  
  <pre><code>var startingUrl;
  startingUrl = "CODE:";
  startingUrl += "URL GOTO=http://example.com";
  
  var inputInfo;
  inputInfo = "CODE:";
  inputInfo += "SET !DATASOURCE E:\example.csv" + "\n";
  inputInfo += "SET !DATASOURCE_COLUMNS 5" + "\n";
  inputInfo += "SET !DATASOURCE_LINE 1" + "\n";
  inputInfo += "TAG POS=1 TYPE=TEXTAREA FORM=NAME:input ATTR=NAME:comment CONTENT={{!COL1}}" + "\n";
  inputInfo += "WAIT SECONDS=2" + "\n";
  inputInfo += "TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:input ATTR=VALUE:Submit" + "\n";
  
  iimPlay(startingUrl);
  iimPlay(inputInfo);
  </code></pre>