title: how to find a folder using applescript
body: <p>I'm trying to get applescript to find a folder and then eventually open every item in it using Preview.  I can get preview to open a folder but it's opening the wrong folder. This is what I have so far:</p>
  
  <pre><code>    set dFolder to "/Users/bobsmith/Desktop/screencapture"
      tell application "Preview"
  open every item of dFolder
  end tell
  </code></pre>
  
  <p>I should think I should at least be able to see the contents of the folder in the debugger but I do not.  </p>
  
  <pre><code>tell application "Finder"
  set dFolder to files of folder POSIX file "/Users/bobsmith/Desktop/screencapture" as alias list
  </code></pre>
  
  <p>end tell</p>