Question: Does anyone know how to setup org-mode so that you can write/process applescript from within org source code blocks? I.e.,

```
#+BEGIN_SRC applescript

tell application "Emacs"
    [do something amazing]
end tell

#+END_SRC

```

Thanks!

Answer: 
It's super rough, but I managed to get a very, very basic integration working last night. Hope it is useful: <https://github.com/stig/ob-applescript.el> -- that should at least give you something to work with.
Not sure if Org Babel supports AppleScript, but it supports bash. You can run applescript from Bash using `osascript` and a bash `heredoc`:

```
#+BEGIN_SRC sh
  osascript <<'END'
  display dialog "Hello, World"
  END
#+END_SRC

```

SE doesn't allow proper formatting. The `END` statement should be all the way to the left, with no spaces before it.