This is probably a quick thing to do in AHK, but I have not yet learned all the necessary commands so I'd really enjoy some help. On to the task!
I own a MS Natural Ergonomic 4000 keyboard (stolen picture, click to zoom):
IDEA: remap extra keyboard keys for other tasks
The bundled software does not allow many changes, so I was thinking that I could use AHK to alter the functionality of a few things. In particular, the zoom slider (in the middle) and the back/forward keys (at the bottom).
Firstly, the slider. From AHK's Key History view (which is only showing the key strokes), I believe it works by sending Ctrl+Scroll wheel up/down every ~.1s or so. Since zoom is not very useful to me, I'd prefer this combination be mapped to just the scroll wheel up/down. Is this doable?
Secondly, the back/fwd keys. My mouse is already equipped with such buttons so the keyboard is redundant. Instead, I'd like these keys to map to left/right mouse buttons (a throwback to my lappy). Again with AHK, I see these keys are mapped to Alt+Left/Right in the following way: Alt d, Left d, Left u, Alt u--but all sequenced without delay. The problem I'm running in to with coding is translating this to the analogous mousing. That is, I'd like to be able to hold down the back/fwd keys and drag files/folders. Is this doable?
(This is more useful than it sounds.)
I've found that the mouse can be moved around more freely when the fingers are loose, so using the alternate hand to control the buttons makes repetitive mousing a breeze. E.g. big file operations, simple Flash games, AutoCAD, etc.
I should also like to note that my mouse uses RightAlt+L/R, so there shouldn't be a conflict there if the script just recognizes LeftAlt.
Thanks for reading, any help you can provide would be most appreciated.
P.S. Thanks for tolerating my playing with the spoiler tag!