I've made something like this using a .dll for Action Bird - great to see something not using a dll, but rather simple c-script, this is extremely helpful!