title: AppleScript Finder "open using" issue
body: <p>I'm having some trouble scripting (what I thought would be) a very easy section of something I'm working on. Basically, I want to tell Finder to open a file with a specific application. Simple, right? From what I've read I should be able to use:</p>
  
  <pre><code>tell application "Finder"
      open "the_file" using "the_application"
  end tell
  </code></pre>
  
  <p>The trouble is Finder seems to be having one heck of a time finding the application. When I use the following code:</p>
  
  <pre><code>set webArcExtract to POSIX file (do shell script "mdfind 'WebArchive Folderizer.app' -onlyin '/Applications/'") as string #Find the Web Archive Extraction Program
  
  tell application "Finder" #Temporary path to save the web archive
      set tempPath to ((home as string) &amp; "temp:")
  end tell
  
  tell application "Fake" #Magic that saves a webpage as a webarchive
      load URL "www.google.com"
      delay 3
      capture web page as Web Archive saving in tempPath &amp; "arc.webarchive"
  end tell
  
  tell application "Finder" #Open the arc.webarchive file saved in the tempPath with the WebArchive Folderizer application
      open tempPath &amp; "arc.webarchive" using webArcExtract
  end tell
  </code></pre>
  
  <p>The values of the variables are as follows:</p>
  
  <p>tempPath: "OSX_Data:Users:user:"
  webArcExtract: "OSX:Applications:Utilities:WebArchive Folderizer.app"</p>
  
  <p>The error I get when trying to run the code occurs on the <em>open tempPath &amp; "arc.webarchive" using webArcExtract</em> line. A message pops up from Finder stating "The Application cannot be found."</p>
  
  <p>Im really befuddled by this one. I KNOW the path is right and I KNOW the application can open files this way. I can use Finder to go to the arc.webarchive file I'm trying to open, right-click on the file, and select "open with > WebArchive Folderizer" and it works perfectly.</p>
  
  <p>Any suggestions?</p>