NAME

Mac::AppleScript - Perl extension to execute applescript commands on OS X

SYNOPSIS

use Mac::AppleScript qw(RunAppleScript);
RunAppleScript(qq(tell application "Finder"\nactivate\nend tell))
  or die "Didn't work!";

DESCRIPTION

Simple interface to the OSA scripting stuff.

This is beta only--the code is very chatty when things fail, and no meaningful error message is returned to the program yet.

EXPORT

None by default.

AUTHOR

Dan Sugalski, dan@sidhe.org

Chunks of the code came from Apple Tech Notes, though that'll be cleaned out soon.

SEE ALSO

perl(1).