Execute the given OSA JavaScript, e.g.:
#+begin_src js :results osascript
Application("Emacs").version()
#+end_src
will output:
#+RESULTS:
: 29.1.90
Add ob-js-osascript.el
to your load-path
, or use a package manager like use-package
w/ quelpa
:
(use-package ob-js-osascript
:quelpa (ob-js-osascript :fetcher github :repo "cxa/ob-js-osascript"))