Newcomer / Intro help with autohotkey

Is this like a macro? Sorry I never heard of a autohotkey. Would've been useful before I spent $30 on a game mouse. BTW, I love my macros!
 
The spacebar isn't a modifier key by default so you'd have to set up a custom definition, which would make the spacebar lose its original function. You would be better off using Shift instead, the code for Shift+a would be +a. If you really want to use space+a, then it would be Space & a.

 
The spacebar isn't a modifier key by default so you'd have to set up a custom definition, which would make the spacebar lose its original function. You would be better off using Shift instead, the code for Shift+a would be +a. If you really want to use space+a, then it would be Space & a.

you the man, have a most awesome day
 
this is what i have incase anybodys interested

#IfWinActive ahk_class FrontierDevelopmentsAppWinClass
SetKeyDelay, 100, 50
;full SYS
Space & a::
send {j}
send {j}
send {j}
send {j}
return

;full ENG
Space & s::
send {k}
send {k}
send {k}
send {k}
return

;full WEP
Space & d::
send {l}
send {l}
send {l}
send {l}
return

; SYS 1, ENG 2.5, WEP 2.5
Space & w::
send {i}
send {l}
send {l}
send {k}
send {k}
send {j}
return
 
Have you tested this in combat? I had to add delays otherwise some keys got missed. They worked when just sitting there, but the added latency in combat messed it up.

Edit: just noticed the delay command. Very nice.
 
#IfWinActive ahk_class FrontierDevelopmentsAppWinClass
SetKeyDelay, 100, 50
;full SYS
<!a::
send {j 4}
return

;full ENG
<!s::
send {k 4}
return

;full WEP
<!d::
send {l 4}
return

; SYS 1, ENG 2.5, WEP 2.5
<!w::
send {i}
send {l 2}
send {k 2}
send {j}
return


thx again for the help, swapped spacebar for left alt and cut it down abit
 
is there anything i can do from ingame that lets me use the suspend hotkeys command without having to alt tab?

Yes, set a key bind for it.
The following code sets alt-p to suspend the script, pressing it again restarts things:

Code:
!p::Suspend

Something else you can do to prevent the key binds for doing things if you alt-tab out and use another window that isn't the game, is to put all Elite dangerous specific bindings under this command.
Code:
#IfWinActive Elite - Dangerous (CLIENT)

With that line in your script, all bindings beneath it will only function if ED is the active window.
 
Last edited:
Back
Top Bottom