My take on this is that scripts enhance the power of KM so greatly, that it behooves us to help each other learn more about writing them even though script execution is just one over very kinds of macro actions. It is intriguing to see such an explosion of contributions about scripting that is showing up here, rather than being directed to sites or mailing lists devoted specifically to scripting or to individual scripting languages. I think is a strong testament to the great underlying power of KM, and we should thank @peternlewis for hosting these wide-ranging discussions.
I’ve said it in other posts and other places, but I’ll say it again: KM’s power and complexity approaches the level of an operating system. In addition to its vast repertoire of macro capabilities, because it supports external scripting it unifies all the scripting languages, the shell, programming application behavior, operating the Mac GUI, driving system behavior, and, by the way (), keybindings and other triggers. It’s massive. I believe it to be by far the most sophisticated non-application software ever written for the Mac.