Heres the code:
Code: Select all
NumpadEnd:: Hotkey, $*e, Toggle
End::
ExitApp
$*e::
while SetBatchLines 1000
Send, {e downtemp}
Send {e up}
Code: Select all
NumpadEnd:: Hotkey, $*e, Toggle
End::
ExitApp
$*e::
while SetBatchLines 1000
Send, {e downtemp}
Send {e up}
idk, mutsumi said to use SetBatchLines in the IRC chatguest3456 wrote:there's no way that that code works
your while loop doens't do what you think it does
what exactly are you trying to do with SetBatchLines?
accidently accepted your post as answer, but im trying to make the ahk hold e down for a certain amount of timeguest3456 wrote:to do what?
you didn't answer the question
i dunno, mutsumi said to use it in the IRC
so??? could you help me?
1. you've given almost no detail nor specifics on exactly what you want to do. you haven't even thought it through enoughBRLY wrote: so??? could you help me?
1. im trying to make a script that holds down e for a certain amount of time.guest3456 wrote:1. you've given almost no detail nor specifics on exactly what you want to do. you haven't even thought it through enoughBRLY wrote: so??? could you help me?
2. i provided you links to help you figure out your problem. did you even bother to read those? did you make any attempt to fix your script?
yes, i want a script that holds it down, not repeat it though. and i keep repeating the same answer because you phrase your sentences weirdlyguest3456 wrote:so you just repeat the same answer you gave last time. lol.
what does 'hold down' mean? what do you want to happen? do you want to spam the 'e' key like this? eeeeeeeeeeeeeeeeeeeee? why do you want to do this?
i tried it in Text, as a test y'know and i noticed it started printing more e's the more i pressed it. i dont know if this is the case with the OG script but it was something i noticed, i think that is why it keeps on randomizing. the game is NBA 2kguest3456 wrote:try what i said in my last post
what game is this?
Thanks, it works but it's works weirdly in the game. It might be my CPU. I'm getting a new one in a couple of weeks so I'll test it on there and see if it works there. Either way, thank you! It works though!guest3456 wrote:its not randomizing for me. sometimes its like +/-2 'e' characters but thats normal
try adding SetBatchLines, -1 to the top of the script
Users browsing this forum: ReyAHK and 87 guests