title: applescript to save email-attachments in a folder doesn't work in Yosemite
body: <p>I've installed OS x 10.10.1
  Now this script doesn't work:</p>
  
  <pre><code>tell application "Mail"
    set theSelectedMessages to selection
    set  this_message to item 1 of the theSelectedMessages
          tell this_message
             set these_attachments to every mail attachment
                  repeat with z from 1 to the count of these_attachments
                  set this_attachment to item z of these_attachments
                  set this_name to the name of this_attachment as text
  </code></pre>
  
  <p>.........and so on</p>
  
  <p>I get the message : error in the apple event Routine. The error comes in this line: "set these_attachments to every mail attachment"</p>
  
  <p>In 10.9 the script worked. </p>
  
  <p>WoWo
  woide@wwp-service.de</p>