AppleScript-0.1.3: Call AppleScript from Haskell.



A module that enables you to compile and execute AppleScript.



appleScriptAvailable :: IO BoolSource

The appleScriptAvailable function checks whether or not AppleScript is available on your platform.

execAppleScript :: String -> IO ExitCodeSource

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.