Code: Select all
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
I_Icon = C:\Users\Rob\Storage\Tech Stuff\Icons\ank-32.ico
IfExist, %I_Icon%
Menu, Tray, Icon, %I_Icon%
;return
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
#InstallMouseHook
RButton::MButton
XButton1::RButton
XButton2::Send #d
Return