Is there any reason `ns-do-applescript` couldn't be made as an Emacs package? That way it'd be trivial to remove it from Emacs proper and Mac users could still extend the editor as needed.
My understanding from that thread is that there basically is a package way. The 'ns-do-applescript' is a c function, though. Providing potential speed benefits over the lisp based implementations.