yea this wont work. you need actual Key strokes ( key being pressed ). soo what i do ( which is totally legal withing the wow rules terms w/e you call it ) get the Logitech g15 key board make a macro to jump how ever often you want. ( or move w/e, i jump every 5 secs LOL ) or the Belkin Nostromo Speed Pad and make it with that.
G15 ~ $80
SpeedPad ~ $40
i said the g15 is legal since Logitech and Blizz work together sometimes
so you wont get banned for using logitechs keyboard, cant say the same with the Speedpad though.