title: Applescript (list choices)
body: <p>I need som help with a small Applescript.</p>
  
  <p>When i make my choice in the list. Safari always open test3. Maybe someone can help me?</p>
  
  <p>The code</p>
  
  <pre><code>set choice to choose from list {"1", "2", "3"}
  
  if choice is "1" then
          tell application "Safari" to open location "http://test1/"
  
  
  else if choice is "2" then
          tell application "Safari" to open location "http://test2/"
  
  else
          tell application "Safari" to open location "http://test3/"
  end if
  </code></pre>