From 93dc4c94d2a7f7b287b9912dccf122aee88daf4f Mon Sep 17 00:00:00 2001 From: Crispy <54243225+CrispyPin@users.noreply.github.com> Date: Wed, 14 Dec 2022 13:05:50 +0100 Subject: [PATCH] Add autohotkey scripts --- windows/mouse_keys.ahk | 58 ++++++++++++++++++++++++++++++++++++++++ windows/stop_calling.ahk | 8 ++++++ 2 files changed, 66 insertions(+) create mode 100644 windows/mouse_keys.ahk create mode 100644 windows/stop_calling.ahk diff --git a/windows/mouse_keys.ahk b/windows/mouse_keys.ahk new file mode 100644 index 0000000..d75b950 --- /dev/null +++ b/windows/mouse_keys.ahk @@ -0,0 +1,58 @@ +#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. + +#F3:: +MouseMove, 0, -16, 0, R +return + +#F7:: +MouseMove, -16, 0, 0, R +return + +#F8:: +MouseMove, 0, 16, 0, R +return + +#F9:: +MouseMove, 16, 0, 0, R +return + +#^F3:: +MouseMove, 0, -256, 0, R +return + +#^F7:: +MouseMove, -256, 0, 0, R +return + +#^F8:: +MouseMove, 0, 256, 0, R +return + +#^F9:: +MouseMove, 256, 0, 0, R +return + + +F13:: +MouseClick, Left +return + +F14:: +MouseClick, Right +return + +F15:: +MouseClick, Middle +return + + +F16:: +MouseClick, WheelUp +return + +F17:: +MouseClick, WheelDown +return diff --git a/windows/stop_calling.ahk b/windows/stop_calling.ahk new file mode 100644 index 0000000..5230e35 --- /dev/null +++ b/windows/stop_calling.ahk @@ -0,0 +1,8 @@ +#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. + +^+U:: +;Send, UNICODE +return