Applescript Resources

A couple of people who have read the tutorials have asked me about other Applescript and Automator resources, this list should give you a start. If anyone knows of resources that could be added please get in touch.

Podcasts

Videos

Websites

Articles

The importance of adding Applescript support to applications is nicely illustrated in an article by Brent Simmons, Making Your Mac App’s Data Scriptable.

While (Applescripters) are a minority of users, they’re power users — the kind of people who recommend apps to friends and family. They blog and tweet about apps, and people listen to them. They can be your app’s biggest evangelists.

There has been a recent article that shows the current best practices for controlling another app using AppleScript, Scripting from a Sandbox.

For beginners and experts A fantastic collection of tips and code snippets

Tools and Libraries

Whilst you can store the scripts anywhere an alternative is to “Show Script menu in the menu bar” which is available from the Applescript Editor preferences as shown below. You can then activate scripts from a drop down menu on the right-hand side of the main top menu bar.

  • Smile is a programming and working environment that you may want to use in a variety of situations. You may want to perform a scientific work, to handle cgi requests, to automate an intensive file processing task, to produce computed graphics, to edit XML files, to work with Unicode texts, to make GUI of your scripts, etc.
  • SmileLab The SmileLab license adds the data visualization features to Smile, the automation environment by Satimage-Software
  • Script Debugger and advanced script editor
  • Platypus a developer tool for the Mac OS X operating system. It can be used to create native, flawlessly integrated Mac OS X applications from interpreted scripts such as shell scripts or Perl and Python programs. This is done by wrapping the script in an application bundle directory structure along with an executable binary that runs the script.
  • UI Browser assistant for Apple’s AppleScript GUI Scripting and Accessibility technologies. It helps you to explore, manipulate, and monitor the User Interface elements of most Mac OS X applications running on your computer.
  • Shane’s ASObjC Utilities 0.9 This is a class that you can use as a superclass, and it lets you easily do things like convert between AS dates and NSDates, convert aliases/files to NSURLs, convert NSURLs to HFS paths, make AS dates from strings, and a couple of other things. There are also categories that let you get and set AS dates in date pickers, and use HFS paths with path controls.
  • Myriad Helpers a collection of Objective-C files that simplify some of the coding involved in AppleScriptObjC.
  • AppleScriptObjC Explorer is a script editor that takes advantage of AppleScript’s ability to call Cocoa methods in OS X 10.6 and later. This is a very useful application for testing and debugging bits of code given the paucity of tools provided by Apple. AppleScriptObjC applications are normally written in Xcode, and testing involves repeated building and running of the application. There are no debugging tools, apart from basic logging to the console. AppleScriptObjC Explorer makes building and testing AppleScriptObjC code simpler in two main ways: You can test bits of code without having to use Xcode, and without having to rebuild and run your whole application after every change. You can log what’s happening. The logging is not as detailed as normal AppleScript logging, but it’s much better than that normally provided in Xcode’s console.
  • ASObjC Runner is a scriptable faceless background helper application. It has a dictionary with a range of commands focused on the areas where vanilla AppleScript comes up short. You use it like a scripting addition, except you address the commands to the application. It provides better string handling (e.g. change case, encoding URL’s, regular expression, formatting dates), list sorting and filtering, improved file handling and progress dialog boxes.
  • ASObjCExtras is a free framework that fills in some of the gaps in AppleScriptObjC support, as well as providing some useful extra facilities including methods for efficiently processing lists and strings.
  • KosmicTask is an integrated scripting environment for Mac OS X which supports a wide variety of scripting languages.
  • EventScripts is a simple application for triggering AppleScripts or shell scripts whenever certain events occur.
  • JSONhelper is an agent which allows you to do useful things with JSON (JavaScript Object Notation) directly from AppleScript
  • Location Helper brings the power of Core Location to AppleScript.
  • Myriad Tables gives AppleScript scripts the ability to show dialogs containing tables.
  • CalendarLib_EC an AppleScript script library for manipulating calendar events without using Calendar.app.
  • DialogToolkit an ASObjC-based script library for showing enhanced dialogs.
  • Myriad Helpers is a collection of Objective-C files that simplify some of the coding involved in AppleScriptObjC. 

Useful Scripts

Books (links to Amazon etc.)

There is also a video training course

Apple Mailing Lists

Updated 23 February 2023