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.
Would a bit of indirection be OK? You can use `noweb` to have an applescript
block inserted into a shell block for execution…

```
#+name: hello-apples
#+BEGIN_SRC apples
display dialog "Hello, World"
#+END_SRC

#+BEGIN_SRC sh :noweb yes :exports both
osascript -e '<<hello-apples>>'
#+END_SRC

#+RESULTS:
: button returned:OK

```

I'm using `apples-mode` because it appears to have better font-locking than `applescript-mode` but you can use either.