Home: https://github.com/asmagill/mjolnir_asm.hydra
Functions for executing AppleScript from within Mjolnir.
This module is based primarily on code from the previous incarnation of Mjolnir by Steven Degutis.
mjolnir._asm.hydra.applescript.applescript(string) -> bool, result
May also be invoked as mjolnir._asm.applescript(string).
Runs the given AppleScript string. If it succeeds, returns true, and the result as a string or number (if it can identify it as such) or as a string describing the NSAppleEventDescriptor ; if it fails, returns false and an array containing the error dictionary describing why.
Use mjolnir._asm.hydra.applescript._applescript(string) if you always want the result as a string describing the NSAppleEventDescriptor.