-
-
Save dustinlacewell-wk/0e77faadad501866a9c29977aa0f4940 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#+begin_src emacs-lisp | |
(defun org-babel-execute:apples (body params) | |
"Execute a block of Foma code with org-babel." | |
(message "executing applescript source code block") | |
(message (cddr (third (first params)))) | |
(do-applescript body)) | |
#+end_src | |
#+begin_src elisp :var app="Google Chrome" foo="bar" | |
tell application app to open "http://bing.com" | |
#+end_src | |
executing Elisp code block... | |
(app (quote "Google Chrome")) | |
(foo (quote "bar")) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment