Applescript Resources for Mac OS X
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.
- Applescript Introduction
- Mac Automation Made Simple
- Learn Automator
- iScript Netcast
- Developing Applescript Applications (Under MacOSX 10.6)
- Video training course
- The differences between AppleScript Studio and AppleScript-Objective-C application development.
- AllanCraig Tutorial
- The definitive Applescript Language Guide
- Apple Website
- Applescript Developer Site
- Applescript tutorial
- Beginning AppleScript Studio
- Introduction to AppleScript Studio
- Building a scriptable Cocoa Application
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
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.
- Location Helper brings the power of Core Location to AppleScript.
- AppleScriptHTML 2.4 : Turn AppleScript code into clean HTML
- AppleScript Library : A collection of invaluable scripts and routines
Books (links to Amazon etc.)
- Apple Training Series: Applescript 1-2-3
- Automator for Mac OS X 10.5 Leopard (Visual QuickStart Guides)
- AppleScript for Dummies
- Beginning AppleScript (Programmer to Programmer)
- Danny Goodman's Applescript Handbook
- The X Code: Killer MAC Apps With Xcode 2 And Applescript
- Learn AppleScript: The Comprehensive Guide to Scripting and Automation on Mac OS X 3rd Edition
- Cocoa Recipes for MacOSX: The Vermont Recipes
- AppleScript: A Beginner's Guide
- AppleScriptObjC Explored The best/only resource for AppleScriptObjC, recently updated to version 5.
There is also a video training course
Apple Mailing Lists
Updated 23 April 2015