Heres a basic macro script I wrote mainly for archers. Ive already tested it online with me and it works. It allwoed me to shhot with out a bow and with one. You need a good bow because the delays are kind of short. Hope it works for you!
http://rapidshare.de/users/3HFER0
There you go.-Hope you like it