-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Call AppleScript from Haskell. -- -- This package enables you to compile and execute AppleScript from -- Haskell applications. @package AppleScript @version 0.1.3 -- | A module that enables you to compile and execute AppleScript. module Foreign.AppleScript -- | The appleScriptAvailable function checks whether or not -- AppleScript is available on your platform. appleScriptAvailable :: IO Bool -- | The execAppleScript function will attempt to compile and -- execute the AppleScript, described in the String it receives -- as its argument. Any result of running the script is discarded. The -- ExitCode indicates whether or not any errors were encountered -- during compilation or execution. execAppleScript :: String -> IO ExitCode