Newcomer / Intro help with autohotkey

Check your script to make sure it isn't also sending the control key. LIke if you had a typo and put that in it as well.

this is my script at the moment

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

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

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

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

!p::Suspend
return

it could also be my keyboard as its trash lol
 
Something with your keybinds could be crossed as well. You have to take stuff out, test, try something else, test again.
 
Check your script to make sure it isn't also sending the control key. LIke if you had a typo and put that in it as well.

you're right, the alt key by default sends the ctrl key. all i had to do to fix it, was rtfm :) and add this anywhere to my script

#MenuMaskKey vk07 ; vk07 is unassigned.
#UseHook

which now looks like this

#IfWinActive Elite - Dangerous (CLIENT)
SetKeyDelay, 40, 40
;full SYS
!a::
send {j 4}
return

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

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

; SYS 4, ENG 2
!w::
send {i}
send {k 2}
send {j 3}}
return

!p::Suspend
return

#MenuMaskKey vk07 ; vk07 is unassigned.
#UseHook
 
you're right, the alt key by default sends the ctrl key. all i had to do to fix it, was rtfm :) and add this anywhere to my script

#MenuMaskKey vk07 ; vk07 is unassigned.
#UseHook

Nice that you figured it out! I never use control or alt as keybinds in games (I like them as modifiers rather than specific binds) so I was not aware of this. Thanks for following up so that the rest of us know too.
 
Top Bottom