After you compile and run, a box will come up asking for the hotkey you are going to use. Just type in the key you will use to hammer and press ok. To use a function key(F1-F12), type that key in braces in the box provided. For Example: {F1} or {F9}
All this does is "hold" shift down for you and throw hammers.
Code:
$Hotkey=Inputbox("Hammers","Set Your Hotkey","*")
Func Hammers()
Send("{SHIFTDOWN}")
Sleep(50)
MouseClick("left")
Sleep(50)
Send("{SHIFTUP}")
endfunc
while 1
hotkeyset($Hotkey,"Hammers")
wend