From d3c86758c711bab25547f2c21e790694bdcc1433 Mon Sep 17 00:00:00 2001 From: Dmitri Ranfft Date: Sun, 25 Feb 2018 07:12:08 +0100 Subject: [PATCH] Added macro. --- eso-light-attack-weave.ahk | 45 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 eso-light-attack-weave.ahk diff --git a/eso-light-attack-weave.ahk b/eso-light-attack-weave.ahk new file mode 100644 index 0000000..9ae1105 --- /dev/null +++ b/eso-light-attack-weave.ahk @@ -0,0 +1,45 @@ +;This script adds a simple mouse click to each of the enabled keys. + +#NoEnv +; #Warn ; Enable warnings to assist with detecting common errors. +SendMode Input +SetWorkingDir %A_ScriptDir% +Suspend + +global msDelay := 10 + +#ifWinActive Elder Scrolls Online + +Tab:: + Suspend +Return + +1:: + MouseClick, Left + Sleep msDelay + Send, {NumPad1} +Return + +2:: + MouseClick, Left + Sleep msDelay + Send, {NumPad2} +Return + +3:: + MouseClick, Left + Sleep msDelay + Send, {NumPad3} +Return + +4:: + MouseClick, Left + Sleep msDelay + Send, {NumPad4} +Return + +;5:: +; MouseClick, Left +; Sleep msDelay +; Send, {NumPad5} +;Return