Code: Select all
DllCall("mouse_event", "UInt", 0x01, "UInt", 5*Multiplier, "UInt", 56*Multiplier)
sleep 100
if !GetKeyState(MButton)
what I m trying is that
the value of Multiplier by default should be equal to 1
when i press shift+alt+2 the value should change to 2
when i press shift+alt+3 the value should change to 3
when i press shift+alt+4 the value should change to 4
etc
and when using another hotkey say f1 it should restore to 1 again
i am noob to ahk
any help would be appreciated