Site icon MacTech.com

Kool Tools: Script Debugger 5

Script Debugger.jpg

Late Night Software (http://www.latenightsw.com/) recently revved Script Debugger, its AppleScript authoring environment for the Mac, to version 5.0.6. It’s a maintenance release that fixes some issues with version 5.0. And version 5.0 was a major upgrade with over 30 new features and improvements to existing ones.

Script Debugger is a Mac source code editor and debugging environment for the AppleScript programming language, as well as other languages based on Apple Inc.’s Open Scripting Architecture. Re-written from the ground up, version 5.0 introduces the concept of script templates used to create new script documents and more.

Script Debugger is a complete replacement for Apple’s Script Editor. It offers no limit on script size as well as powerful editing, debugging and dictionary tools. If you want be successful with AppleScript you have to understand the capabilities of the applications you wish to automate. You also need to know how to invoke the functionality you need, how to access data and perform operations on it.

That’s where Script Debugger comes in. Its dictionary window shows you the reference information applications offer. Script Debugger’s Explorer lets you experiment with the application, exploring the data provides and manipulate the data to see the consequences in the application.

Script Debugger also boasts code creation features. For example, you an 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 fine-tuned for the peculiarities of the AppleScript language let you navigate large scripts, automatically enter “end” lines and closing delimiters, and more.

After creating a script, you can test it by running the script. If an error stops the script, Script Debugger tracks all the variables and their values up to that point, helping you find out what went wrong. The software’s Explorers continually pops up to show any value in detail.

You can use the Apple Event Log to monitor the commands your script sends to the applications on your Mac. You can 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.

Script Debugger lets you check for common errors when packaging scripts. If a script contains sensitive or private information, you can export it in Run Only form. allowing an end user to run the script without accessing the code. Finally, Script Debugger’s Manifest tells you instantly what applications and scripting additions are needed in order to run your script successfully.

Version 5.5 also improves compatibility with Mac OS X 10.8 Mountain Lion. It introduces support for bundle IDs in applets and droplets.

Script Debugger 5.5 requires Mac OS X 10.6 or higher. It retails for US$199. The Script Debugger 4.5 to 5.5 upgrade costs $99.

Exit mobile version