Well several people were requesting this, so I thought I'd throw one together.
This macro is for auto-shooting your bow, gun, wand, etc., and is written in AutoIT, so you either must to have AutoIT3 installed, or you can just download the EXE provided at the bottom of this post.
If you have AutoIT and know how to use it, paste this into a new file (using Notepad) and save the file as "AutoShoot.au3" <-- Be sure to include the quotation marks when you save the file, or else it will throw a ".txt" onto the end of it.
As you can see, there are 4 things you need to change in this script to get it to work right for your class, and the descriptions for each variable are written above in the code.Quote:
; ----------------------------------------; | Auto-Shoot Macro v1.0 - Author: Bobo |; ----------------------------------------
; |I take no responsbility if you get in |
; |trouble for using this script.* * * * |
;----------------------------------------
; $AutoShootHotkey should be set to the* |
;* * key you want to use to start/stop* |
;* * the macro. I have mine set to F5.* |
; ----------------------------------------
; WARNING: You will not be able to use* |
;* * * * * this key for ANYTHING ELSE* * |
;* * * * * while the macro is running.* |
;* * * * * I suggest using one of the* * |
;* * * * * function keys, like F5.* * * |
; ----------------------------------------$AutoShootHotkey = "{F5}"; ----------------------------------------
; $ShootHotkey should be set to the key* |
;* * on your toolbar that holds your* * |
;* * 'shoot' icon. I have mine on slot 1.|
; ----------------------------------------$ShootHotkey = "1"; ----------------------------------------
; $ShootDelay should be set to the delay |
;* between shots, in milliseconds. I* * |
;* have mine set to 2000 (2 seconds).* |
; ----------------------------------------$ShootDelay = "2000"; ----------------------------------------
; $ExitKey should be set to the key you* |
;* * want to use to completely stop the* |;* * macro.* |* * * * * * * * * * * * *
; ----------------------------------------$ExitKey = "{ESC}"
; ----------------------------------------; | DO NOT EDIT ANYTHING UNDER THIS LINE |; ----------------------------------------
WinWaitActive("World of Warcraft")
$AutoShoot = 0
$ProgOn = 1
HotKeySet ($ExitKey, "ExitProg")
HotKeySet ($AutoShootHotkey, "toggleAutoShoot")
Func toggleAutoShoot()
if $AutoShoot = 1 Then
$AutoShoot = 0
Else
$AutoShoot = 1
shoot()
EndIf
EndFunc
Func shoot()
While $AutoShoot = 1
if $AutoShoot = 1 then
Send($ShootHotKey)
EndIf
Sleep($ShootDelay)
WEnd
EndFunc
Func ExitProg()
$ProgOn = 0
EndFunc
While $ProgOn = 1
Sleep(1)
WEnd
To use this macro:
1. Start up WoW like normal
2. Once you're in the game, Alt-tab out to windows, find the script, and run it. You will notice it down in your system tray as a new icon.
3. Switch back to your World of Warcraft window, and whenever you want to enable Auto-Shoot, push the key that you specified above (Default is F5)
4. To deactivate AutoShoot, push the key again (Default is F5)
5. When you want to completely turn off AutoShoot, push the exit key you specified above (Default is ESC) and the program will exit.
If you do not wish to install AutoIT, you may download the compiled script here. You will need to open up the AutoShoot.ini file with Notepad and edit the variables mentioned above.
This is my first AutoIT macro so let me know if there's anything I can do to improve it or if there are any problems.
Enjoy!






