Having a very hard time to make the script work since I have an AZERTY keyboard. I tried to remap 1 2 3 4 with & é " ' but AutoHotKey doesn't like the é charactere and simply refuse to launch the script, any suggestion? Other than buy a QWERTY keyboard lol
Check this link out, it seems like they got it working: https://stackoverflow.com/questions/24157617/autohotkey-and-azerty-how-to-remap-%C3%A8-%C3%A7-%C3%A0-keys-without-remapping-the-numbers
I can try to put azerty on my keyboard but i'll be very busy for a day or two, odds are you're able to try faster than me, let me know!
Hi, thanks for the script and for the tips for azerty keyboards, it works perfectly, here is the script for azerty keyboard with & é " and ' for skills, R for lantern, T for heal item and G for endurance item :
Last night I used my logitech mouse macro software to do this same thing so I could bind my extra mouse buttons to skills works great, and you never really have to take your hands off WASD, if anyone wants to know how I can show you its super easy with Ghub. Not sure if Razer would allow it as well.
31 comments
Odds are there was a typo somewhere along the line?
For example i had this for é specifically:
$*é::
{
SendInput("{LCtrl down}{2 down}")
return
}
$*é up::
{
SendInput("{LCtrl up}{2 up}")
return
}
Hope it helps!
It's probably something on my end but idk much about this software.
Check this link out, it seems like they got it working: https://stackoverflow.com/questions/24157617/autohotkey-and-azerty-how-to-remap-%C3%A8-%C3%A7-%C3%A0-keys-without-remapping-the-numbers
I can try to put azerty on my keyboard but i'll be very busy for a day or two, odds are you're able to try faster than me, let me know!
Thanks for the help !
#SingleInstance Force
#HotIf WinActive("ahk_exe DD2.exe", )
$*&::
{
SendInput("{LCtrl down}{1 down}")
return
}
$*& up::
{
SendInput("{LCtrl up}{1 up}")
return
}
$*é::
{
SendInput("{LCtrl down}{2 down}")
return
}
$*é up::
{
SendInput("{LCtrl up}{2 up}")
return
}
$*"::
{
SendInput("{LCtrl down}{3 down}")
return
}
$*" up::
{
SendInput("{LCtrl up}{3 up}")
return
}
$*'::
{
SendInput("{LCtrl down}{4 down}")
return
}
$*' up::
{
SendInput("{LCtrl up}{4 up}")
return
}
$*r::
{
SendInput("{LCtrl down}{r down}")
return
}
$*r up::
{
SendInput("{LCtrl up}{r up}")
return
}
$*t::
{
SendInput("{LCtrl down}{t down}")
return
}
$*t up::
{
SendInput("{LCtrl up}{t up}")
return
}
$*g::
{
SendInput("{LCtrl down}{g down}")
return
}
$*g up::
{
SendInput("{LCtrl up}{g up}")
return
}
---- C:\Users\xxx\Desktop\dd2 (v2).ahk
003: {
005: {
011: {
017: {
023: {
029: {
035: {
041: {
047: {
051: Exit (3.17)
Press [F5] to refresh.
For me both work without issues.
---- I:\xxx\ahk script (ahk v2)-173-1-1711456803\dd2 (v2).ahk
003: {
005: {
011: {
017: {
023: {
029: {
035: {
041: {
047: {
051: Exit (6.69)
Press [F5] to refresh.
I will try the V1
numpad4::Send, {rctrl down}{pgup down}{pgup up}{rctrl up}
numpad7::Send, {rctrl down}{home down}{home up}{rctrl up}
numpad2::Send, {rctrl down}{F1 down}{F1 up}{rctrl up}
numpad3::Send, {rctrl down}{F2 down}{F2 up}{rctrl up}
XButton1::Send, {rctrl down}{XButton1 down}{XButton1 up}{rctrl up}
XButton2::Send, {rctrl down}{XButton2 down}{XButton2 up}{rctrl up}
numpad keys are the keys in use.
pgup, home, F1, F2 are the keys set in game.
Change rctrl for lctrl if you prefer left control key.
Don't map RButton and LButton (right and left mouse buttons). Or you'll have issues to use Windows.
Launch the .ahk script in administrator mode.
Also you can limit the script to only function inside the game window!
No control keys keep activated ?
What the script does is press Ctrl+1/2/3/4 when you press 1/2/3/4, then releases both of them at the same time.
This is useful for some skills you may want to charge or hold before using.
Hopefully someone else makes it!