Script Debugger provides everything you need to quickly and easily author AppleScripts that work. No other scripting tool can match Script Debugger's capabilities for creating, editing and debugging AppleScripts. Its sophisticated Dictionary browser provides far more information than any other tool can and eliminates guesswork and needless experimentation. Simply put, Script Debugger makes AppleScript easy.
Success with AppleScript depends on understanding the capabilities of the applications that you’re trying to automate and how to invoke the functionality you need, how to access data and perform operations on it. The dictionary window in Script Debugger is where you begin that task of discovery as it shows you the reference information applications offer. But that’s just the launching point. From there, the Explorer is the place where you can experiment with the application, where you can explore the data that it offers and manipulate the data to see the consequences in the application.
The power of these Explorers doesn’t drop away when you leave the dictionary and move to edit your script. They follow you into the script and are available as you edit and debug your script to show the information that you’re operating on.
Once you’ve discovered how to exploit the capabilities of the applications on your system, you’re ready to write scripts. Maximize productivity and write scripts easily and quickly with Script Debugger’s powerful and flexible code creation features. Insert tell blocks for applications and objects or properties. Script Debugger’s ‘clippings’ and text substitution features intelligently insert code ranging from AppleScript constructs (such as repeat loops), to basic tell blocks, to application commands (including parameters). Features expressly honed for the peculiarities of the AppleScript language let you easily navigate large scripts, automatically enter “end” lines and closing delimiters, and more.
After creating a script, you’ll need to test it to make sure it behaves as expected. The first step is to run the script. Should an error stop the script, Script Debugger tracks all the variables and their values up to that point, making it easy to discover what went wrong. Script Debugger presents a complete picture of what’s happening as your script runs.
The ever-present Explorers continually appear to show any value in great detail. If the value happens to be a reference to a song in iTunes, for example, it not only gives you its name, it also lets you explore the song’s attributes.
Use the Apple Event Log (which has been completely revised in version 5.0) to monitor the commands your script sends to the applications on your Mac.
Use single-stepping and breakpoints to watch your script as it runs, viewing the values of all variables at every stage of the script’s execution. Unit-test individual handlers. With Script Debugger, your code works by design, not by guesswork.
After developing a working script, you need to package it for distribution to your client, working group, or whoever is going to utilize it. Script Debugger leaps in at this point to check for common errors when packaging scripts. Should the script contain sensitive or private information, you can export it in Run Only form. This lets the end user run the script but prevents them from accessing the code. Script Debugger’s unique Manifest tells you instantly what applications and scripting additions are needed in order to run your script successfully.
What's New Version 5.0.10:
Add CFBundleAllowMixedLocalizations to Script Debugger to allow mixed english and localized strings.
Script Debugger now detects errOSACantStorePointers (-1763) errors when saving scripts and offers to recompile the script to clear any AppleScript Objective-C pointers retained in global variables.
Resolved a crashing bug that can occur when accessing one of Script Debugger’s document properties through the scripting interface returning a text range.
Resolved an error position reporting problem when the error lies within property definitions preceding the first executable statement in a script.
Resolved a crashing bug that may occur when the AppleEvent log os overwhelmed by events.
Improved the display of Raw Syntax in the result display and other explorers throughout the application.
Resolved a hard crash when recording the actions of other applications.
Resolved a long standing bug where Script Debugger would fail to display image data (e.g. iTunes artwork) in the result browser.
Resolved problems displaying errors for scripts running in the non-current tab.
Resolved a crash that may occur when searching a dictionary.
[Yosemite] Resolved a crashing bug that occurs when running scripts from the Script Debugger scripts menu.
[Yosemite] Resolved a hand that can occur when displaying tooltip expressions on Yosemite systems.
[Yosemite] Resolved a hang that can occur when compiling scripts with expressions defined on Yosemite systems.
Requirements: Intel OS X 10.6 or later