AppleScript-0.1: Call AppleScript from Haskell.

Foreign.AppleScript

Description

A module that enables you to compile and execute AppleScript.

Synopsis

Documentation

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.