Here's the thing. I have a SteelSeries mouse which comes with the SteelSeries Engine. The engine allows you to change mouse button binds and assign any key to a mouse button, set if it's going to be a regular hold down button or if it's going to auto-repeat while the button is held down, or toggle on/off auto-repeat. And it even has a macro creator where you can set up keypress macros and bind them to a button.
Entirely different from AHK (or the far-superior and easier to use/learn Pulover's Macro Creator which can save macros in the AHK format).
I'd love to know Jagex's stance on situations like mine where I can very easily set up a bind on my mouse to hold down a button that I've bound on an action bar to drop Pure Essence (for example) while essence mining so I can stand there and mine continuously, and I can also set up a secondary click action that runs at the same time that re-clicks the rock every minute or so.
I've taken note of various things that can get you flagged for botting as I've experimented around with things: