Skip to content

Instantly share code, notes, and snippets.

@Perlence
Created November 29, 2013 20:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Perlence/7711248 to your computer and use it in GitHub Desktop.
Save Perlence/7711248 to your computer and use it in GitHub Desktop.
Useful mouse button binds for Guitar Pro 5
MouseIsOver(WinTitle) {
MouseGetPos,,, Win
return WinExist(WinTitle . " ahk_id " . Win)
}
#If WinActive("Guitar Pro 5") and MouseIsOver("Guitar Pro 5")
RButton::
Send {LButton}
Send {Del}
Return
^RButton::
Send {Del}
Return
MButton::
Send {LButton}
Send {Ins}
Return
XButton1::
Send {Enter}
Return
^WheelUp::
Send {NumpadSub}
Return
^WheelDown::
Send {NumpadAdd}
Return
!WheelUp::
Send {NumpadMult}
Return
!WheelDown::
Send {NumpadDiv}
Return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment