• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Preferred AS editing tools
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Preferred AS editing tools


  • Subject: Re: Preferred AS editing tools
  • From: Stan Cleveland <email@hidden>
  • Date: Thu, 28 Jul 2011 13:43:13 -0700

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?

Hi Alex,

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
		delay 1
	set elapsedTime to (AMTime) - startTime
	--> 0.990883111954

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).

HTH,
Stan C.
--
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:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Preferred AS editing tools
      • From: "Zavatone, Alex" <email@hidden>
References: 
 >Preferred AS editing tools (From: "Zavatone, Alex" <email@hidden>)

  • Prev by Date: Re: Property List Editor
  • Next by Date: Re: Property List Editor
  • Previous by thread: Re: Preferred AS editing tools
  • Next by thread: Re: Preferred AS editing tools
  • Index(es):
    • Date
    • Thread