Thank you very much for the reply, Stephen! I agree that supporting Maverick is more important right now, but I really hope you’ll eventually implement AppleScript. In the meantime, I’m using the API.
However I never used Ruby before, so as you can probably imagine, figuring out how to install and use the totalspaces gem (and its dependencies) was a bit or a pain in the arse, to be honest. But I finally managed it and now I can do things from Keyboard Maestro that weren’t possible before. So that was worth it.
Basically this, but if ruby API would fit my needs, then the applescript wouldn’t be that necessary (however, the basic support for it could be helpful, as it would be really easy to use in different cases, like Alfred workflows or Automator scripts).