JavaScript for OS X Automation
I found this nice simple, contrasting comparison of syntax from the last discussion about this (thought it would be worth sharing).<p>Here is some of the new JavaScript syntax:<p><pre><code>  Mail.outgoingMessages.whose({subject:'JavaScript'})
</code></pre>
Here is what it looks like in AppleScript<p><pre><code>    tell application "Mail"
        set msgs to every outgoing message whose subject is 'JavsScript'
    end tell
</code></pre>
While the AppleScript sounds logical, the JavaScript syntax just feels so comfortable and familiar (obviously).