Code: Select all
LButton::
If GetKeyState("Space", "P") && !GetKeyState("Alt", "P") {
Send {Blind}{LButton Up}{Space Up}{MButton Down} ;Pan
KeyWait LButton
Send {MButton Up}
}
else if !GetKeyState("Space", "P") && GetKeyState("Alt", "P") {
Send {Blind}{LButton Up}{Space Up}{Shift Down}{MButton Down} ;Rotate
KeyWait LButton
Send {MButton Up}{Shift Up}
}
else if GetKeyState("Space", "P") && GetKeyState("Alt", "P") {
Send {Blind}{LButton Up}{Space Up}{Ctrl Down}{MButton Down} ;Zoom
KeyWait LButton
Send {MButton Up}{Ctrl Up}
}
else {
Send {LButton Down}
; KeyWait LButton
; Send {LButton Up}
}
return
LButton Up:: Send {LButton Up}
I would appreciate any ideas on how this can be fixed. Thank you.