Skip to content

Instantly share code, notes, and snippets.

@thefloodshark thefloodshark/.ahk
Last active Mar 15, 2019

Embed
What would you like to do?
Left/Right Mouse Wheel Click Tab Switch
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
; Works on Chrome and Mozilla (untested on others)
; left (with paste then tab)
WheelLeft::
Send ^+{Tab}
Send {tab}
Send ^v
Send {tab}
Return
WheelRight::
Send ^{Tab}
Return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.