Script Debugger provides everything you need to quickly and easily author AppleScripts that work.
Embed a F-Script interpreter in any Cocoa application
Flexibly schedule the execution of AppleScript, perl, and shell scripts, as well as Automator workflows and applications.