Jump to content

AutoHotkey Troubleshooting

hey im trying to make an autohotkey script that spamms the "n" key when "n" is held, but this needs to be toggled on and off with ctrl + n

 

this is what I have so far:

 

$n::
 While GetKeyState("n","p"){
  Send n
  Sleep 20
 }
^n::
Pause, toggle, 1
return

 

any help?

 

Link to comment
Share on other sites

Link to post
Share on other sites

Why would you want it too spamm the n, when you are holding the n?

Link to comment
Share on other sites

Link to post
Share on other sites

although it is irrelevant,

 

i get off to seeing a whole lot of n's in a row

 

how about you?

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×