This is an AHK script (www.autohotkey.com) that will introduce a new functionality for performing Warden masteries.
Masteries can be accomplished by pressing and holding the first button, then the second. Eg, to perform [13], you hold down the 1 button, then press 3.
This means that you can perform all your masteries with just single presses of 1,2, and 3.
I tried to include some dummy-proofing code whenever I could to keep it from hijacking the keyboard in any unintended ways. This should only noticeably affect keyboard behavior while LOTRO is active, but you may notice some side effects if you forget to disable the script upon leaving LOTRO, or upon changing characters. Side effects will only occur if you press 1 2 or 3, and then press another key before you completely finish pressing the number, ie if you're typing fast, or spamming commands with the 1 2 3 keys on one of your non-Warden alts.
This is still largely untested and BETA so use at your own risk It may also take some "getting used to" as far as remembering to fully release keys, but I think it should still be fairly intuitive and quick to learn, and give you probably the ideal and most intuitive way to queue up masteries.
Updated 21Apr12 with new version! Includes double-tap functionality: doubletap 1 for your 11 double builder, etc. for 22 and 33, and doubletap 44 to activate your saved Battle Memory skill.
This new functionality will give a slight (0.11s) delay when typing 1, 2, 3, or 4 in the chat box in-game, so be aware to pause just a beat if you're typing those numbers.
Code:
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
#UseHook
#IfWinActive The Lord of the Rings Online
{
3 & 1::
Send [31]
return
1 & 3::
Send [13]
return
1 & 2::
Send [12]
return
2 & 1::
Send [21]
return
2 & 3::
Send [23]
return
3 & 2::
SendRaw [32]
return
1::
KeyWait 1
KeyWait 1, D T0.11
if (!ErrorLevel)
send [11]
else send 1
KeyWait 1
return
2::
KeyWait 2
KeyWait 2, D T0.11
if (!ErrorLevel)
send [22]
else send 2
KeyWait 2
return
3::
KeyWait 3
KeyWait 3, D T0.11
if (!ErrorLevel)
send [33]
else send 3
KeyWait 3
return
4::
KeyWait 4
KeyWait 4, D T0.11
if (!ErrorLevel)
send [BM]
else send 4
KeyWait 4
return
+4::SendRaw $
+3::SendRaw #
+2::SendRaw @
+1::SendRaw !
^4::Send ^4
^3::Send ^3
^2::Send ^2
^1::Send ^1
!4::Send !4
!3::Send !3
!2::Send !2
!1::Send !1
}
Instructions
-Install AHK (www.autohotkey.com)
-Start a new txt file in Notepad and copy the code to it
-Change the text in brackets to whatever in-game hotkeys are assigned to your masteries. Recommended you assign your masteries to obscure hotkeys like } or <. Remove the brackets themselves as well.
-Save the file as *filename*.ahk Make sure you actually change the extension and dont just make it *filename*.ahk.txt
-Doubleclick the file to activate the script whenever you log on to your Warden
-Right click the green "H" icon in your System Tray and click Exit when you log off to avoid side effects
Advanced users
To change it to work with numpad keys instead of the regular number keys, just change "3 & 1" to "NumPad3 & NumPad1", etc.