If you're curious to see what else you can do with AppleScript, check out Doug's AppleScripts for iTunes or the forum. The program's installer files are commonly found as Editor.exe, script editor 2.exe, SCRiptEditor2.0.exe or SED. The most popular versions among Script Editor users are 2.2, 2.1 and 2.0.
Script Editor relates to Development Tools. This program was originally designed by BrineSoft. You can see that it works by trying to display a simple dialog: Script Editor 2.2 is free to download from our software library.
Right now we are ignoring the return values, but supposedly we could figure out how to interpret the return value (which is a NSAppleEventDescriptor) and pass values back from the script to Factor. Using the NSAppleScript Class Reference, we can see that, basically, we need to create an NSAppleScript initialized from a source string, and then execute the script: USING: cocoa cocoa.application cocoa.classes kernel : run-apple-script ( str - ) dip -> initWithSource: -> autorelease f -> executeAndReturnError: drop Wouldn't it be cool if we could run AppleScripts from Factor? AppleScript can be run from the command-line using the osascript tool, and edited and run using the "AppleScript Editor" application. Given all the new technologies and programming languages available, it is sometimes easy to forget about AppleScript, a scripting language that has been available for over twenty years, and reads and writes a bit like "plain English". When Im running the script in the Applescript editor and run into 'Google Chrome Canary,' the editor brings up the dictionary selector and asks me to find 'Google Chrome Canary,' which I dont have installed. I find myself often developing on Mac OS X.