Sweet!
Try that on any other OS. Linux people would tell you to go write some code. Applications need to support scripting in a high level language for this sort of stuff to happen… but AppleScript users have understood this for years. And if you think dropping to C/C++ on Linux to connect up applications, try it with COM on Windows.
-Harold