AppleScript

 A system-wide macro facility on Macs which gives operating system-level control for compatible applications.