On Jul 28, 2011, at 8:21 AM, Zavatone, Alex wrote:
> I've been using the Script Debugger for quite some time now and am pretty impressed with the actual debugger (though it can get slow at times).
> What do you all prefer? Are there other little OSAXes or other tools to make our lives easier?
Yes, Debugger's features make it indispensible. I hear good things about Smile, but haven't used it myself.
Because I deal with dozens of scripts and reuse a lot of code, I couldn't live without AppleMods for loading handler libraries. I don't use the supplied modules (Math, List, etc.), but load libraries (Email, Excel, Plist, SFTP, etc.) that I've written to meet my needs. A change to any library gets more-or-less instantly propogated everywhere it's needed. Of course, there are other methods of doing library loading, but I've found AppleMods to be the easiest and most most reliable. It was just updated late in 2010.
Another boost in efficiency comes from the use of a source-code repository. (It's a folder structure organized by client and job, NOT something like Subversion, Git, or darcs.) All scripts are stored as text files (with .applescript extension). A utility script creates the job folder and template files for each new script. When a script has been changed, I run another utility script that reads a script-specific .plist file for instructions and saves the finished file with the desired format, name, and location.
As for osaxen, both Satimage and Late Night Software offer terrific, free ones. I use whichever ones fit the current need. (And StandardAdditions, of course.) The only other osax I use is AppleModsTools, which is part of the AppleMods system. It includes the AMTime command with microsecond precision, which I use to check script timing like so:
set startTime to AMTime
set elapsedTime to (AMTime) - startTime
My final productivity boost comes from using the "Open-Ended Programming" techniques described in parts IV and V of Mark Munro's book, "AppleScript" (part of the Wiley Developer Reference series, June, 2010).
Disclaimer: I have no commercial interest in anything recommended above.
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden