Accurate headshots without even moving mouse!
If you knew the exact number of the pixel color of an enemy's face / head/hat then you can make your mouse move over there and shoot.
First you need to take screenshot of game with enemy visible in it.
Then you find the Pixel color of it using following script
Move your mouse over enemy's head in the screenshot. then press control z
^z::
MouseGetPos, MouseX, MouseY
PixelGetColor, color, %MouseX%, %MouseY%
MsgBox The color at the current cursor position is %color%.
Return
Now you'll get messegebox containing pixelcolor's code
Note it down and then make new autohotkey scriptfile like this
Ass-uming that your screensize is 800X600
And the pixel color you are searching is 0x9d6346 (refer help file for more details, I'm only giving you a broad lay-out)
Lbutton::
PixelSearch, Px, Py,0,600, 800,0, 0x9d6346, 3, Fast
Mousemove, %px%,%py%
Send Lbutton
Return