title: Integrating jsLint into BBEdit
body: <p>How do I incorporate jsLint into BBEdit?</p>
  
  <ul>
  <li>Environment: 
  <ul>
  <li>OSX Mountain Lion </li>
  <li>BBEdit <em>10.1.2 (3152)</em></li>
  </ul></li>
  </ul>
  
  <p>I installed <a href="http://nodejs.org/" rel="nofollow">Node.js</a> (<em>0.8.14</em>) and ran</p>
  
  <pre><code>sudo npm install -g jslint
  </code></pre>
  
  <p>I am able to run <strong>jslint</strong> from the command line by running</p>
  
  <pre><code>jslint [filepath/]filename
  </code></pre>
  
  <hr>
  
  <p>I found a <a href="http://forrst.com/posts/JSLint_Script_for_BBEdit-UQV" rel="nofollow">tutorial</a> that seems to explain how to connect <strong>jsLint</strong> to <strong>BBEdit</strong>; however, I have never written an AppleScript and have no idea where to start.</p>
  
  <p>Any guidance would be much appreciated.</p>
  
  <hr>
  
  <h2><strong>UPDATE</strong></h2>
  
  <p>I loaded the <a href="http://forrst.com/raw_code/c95ab22ac862655c91fbb8c0c35b65dfeebbdd88" rel="nofollow">AppleScript</a> from the tutorial into the AppleScript Editor Application and ran it.</p>
  
  <p>I'm now getting the following error message:</p>
  
  <blockquote>
    <p>Can’t get paragraphs 3 thru -1 of "Can’t make POSIX path of missing
    value into type Unicode text.".</p>
  </blockquote>