title: Applescript Records get unknown property
body: <p>I want to be able to get the phone number of a friends</p>
  
  <pre><code>set people to {"Kristi", "Mark", "John"}
  set details to {kristi:"1247 532 523", Mark:"0411 123 979", John:"0225 552 446"}
  
  set person to choose from list people
  set number to {person of details}
  </code></pre>
  
  <p>The error i am  getting is <code>Can’t set number to {person of details}. Access not allowed.</code></p>