I use one of these succesfully with Octopus.
I re-programmed all the G-Keys to be keystrokes on the NUMPAD (F-Keys or anything else will work) and then add them to the Octopus whitelist. Then using a bar mod addon inside WoW (I like infinibar) you just bind the keys to macros on each client in-game.
Obviously if the macro's you're trying to use can't be done with "in game" code then you're effectively botting and breaking the TOS. Which is bad.
Connect With Us