How to set up AHK and MS


I have been using Lazy Macros for some time, but I most recently came back and see allot of MS talk and Auto Hot Key. I been trying to figure out how this works as in how to set up with GS in game and how to adjust the MS. Anyone able to explain this for me?

Thank you