I had this buried under another thread, but since people still want to use it, I've improved it and I'll put it in it's own thread here.
It doesn't follow drimzi's pattern any more, so old macros won't work but you only need to press 1 now, the config files create the loop on their own.
I've removed the need for brand specific keyboard macros, but they can still be used if you want, you only need to make it press 1 repeatedly, but I recommend using the script I've made called keypresse