FoldersSynchronizer can run an AppleScript before and after executing each session. This option could be useful, for instance, to close all the applications before the sync/backup or to mount some volume that FS cannot mount via the Auto-mount Volumes option. AppleScript is an English-like, easy-to-understand scripting language built into every Mac. AppleScript can automate hundreds of AppleScript-able applications, performing tasks both large and small, complex and simple.Learn AppleScript: The Comprehensive Guide to Scripting and Automation on Mac OS X, Third Edition has been completely updated for Mac OS X Snow Leopard.
From Wikipedia's entry on AppleScript:
Whereas Apple events are a way to send messages into applications, AppleScript is a particular language designed to send Apple events. In keeping with the objective of ease-of-use for beginners, the AppleScript language is designed on the natural language metaphor, just as the graphical user interface is designed on the desktop metaphor.
If you wanted to write an AppleScript to open my app Acorn, it would look like this:
tell application 'Acorn' to open
If you then wanted to tell Acorn to quit, it would look like this:
tell application 'Acorn' to quit
If you invoke Siri and say 'tell application Acorn to open' then Acorn will open up which is pretty awesome. If you use the latter command, Siri will respond:
To close an app, press Command - Q on your keyboard. If that doesn't work, open the menu and chose Force Quit.
The very first AppleScript command I baked into Acorn goes as follows:
tell application 'Acorn' to taunt
The command is still there today, and if I ask the same to Siri literally nothing happens. Siri just goes away and pretends I didn't ask it anything. But should it?
Applescript Html Content
It seems to me that as an interface to Siri commands, something along the lines of AppleScript would be a pretty good fit. What if developers could mark commands in our AppleScript interfaces to be exposed to Siri?
Applescript Html To Pdf
I realize Apple is doing its best to make sure AppleScript just fades away, but this seems to be a pretty big missed opportunity on their part.