title: AppleScript tell Finder move -10000 Error "Handler can’t handle objects of this class"
body: <p>I've created directory structure and placed the <code>a</code> file in <code>A</code> directory:</p>
  
  <pre><code>~/A
  ~/B
  </code></pre>
  
  <p>In AppleScript I'm <strong>trying to move file <code>a</code> from <code>A</code> to <code>B</code></strong>. Here is my code:</p>
  
  <pre><code>on run
  
      tell application "Finder"
          move POSIX file "~/A/a" to POSIX file "~/B"
      end tell
  
  end run
  </code></pre>
  
  <p>But when I run the script I get error:</p>
  
  <pre><code>error "Finder got an error: Handler can’t handle objects of this class." number -10000
  </code></pre>
  
  <p>This is simplified version of my problem. Can anybody help me please?</p>