title: I want Applescript to execute two commands at the same time
body: <p>I want Applescript to execute two commands at the same time. One is "display dialog" and the other is "choose file".
  Because of the results of this code running, I think he can do what I want</p>
  
  <pre><code>ignoring application responses
  set canshu to 0
  repeat 10 times
      set canshu to canshu + 1
      display dialog canshu
  end repeat
  end ignoring  
  </code></pre>
  
  <p>But not.</p>
  
  <pre><code>ignoring application responses
  choose file
  display dialog "hallo"
  end ignoring 
  </code></pre>
  
  <p>That's what I wrote.
  It does not execute "choose file" for me but directly executes "display dialog". Why is that? Is there any other method?</p>