I'm trying to create a hotkey so that when I hold down my right mouse button, then press scrollwheel right, it does Ctrl + Win + Right arrow. And Ctrl + Win + Left arrow when I do left scrollwheel + right mouse. This should be a global hotkey. The issue is that I have a G700s, and I have it bind the left and right scrollwheel to be ctrl+shift+tab and ctrl+tab respectively through software so it works on any machine.
For the right scroll, its just three inputs detected
Code: Select all
^Tab::
if (GetKeyState("RButton", "P"))
Send, {CtrlDown}{LWinDown}{Right}{LWinUp}{CtrlUp}
Return
but the left is 4, I can't seem to figure out how to make it work.