Skip to content

Instantly share code, notes, and snippets.

@shmup
Created November 28, 2012 20:31
Show Gist options
  • Select an option

  • Save shmup/4164141 to your computer and use it in GitHub Desktop.

Select an option

Save shmup/4164141 to your computer and use it in GitHub Desktop.
AHK script to reverse the direction of scrolling, much like OS X did to emulate scrolling on an iPad or iPhone.
; Reverse Scrolling Script
#MaxHotkeysPerInterval 200
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
WheelUp::
Send {WheelDown}
Return
WheelDown::
Send {WheelUp}
Return
WheelLeft::
Send {WheelRight}
Return
WheelRight::
Send {WheelLeft}
Return
~Shift & WheelUp::
Send {WheelRight}
Return
~Shift & WheelDown::
Send {WheelLeft}
Return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment