Chickenfoot - this is what runs under CoScripter. ChickenFoot is not just some ad-hoc scripting language like in CoScripter, but simply JavaScript with a quite interesting automation library integrated. So as a building block, in my opinion better suited, especially since the scripts remain on the local computer.