Skip to content

Instantly share code, notes, and snippets.

@msmick
Created August 28, 2013 10:14
Show Gist options
  • Save msmick/6364475 to your computer and use it in GitHub Desktop.
Save msmick/6364475 to your computer and use it in GitHub Desktop.
autohotkey script for making middle mouse button drag the canvas in illustrator, emulating the spacebar action (simlar to many other software)
#IfWinActive ahk_class illustrator
MButton::
Send {Space Down}
Send {LButton Down}
KeyWait, MButton
Send {LButton Up}
Send {Space Up}
Return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment