I'm currently using the script below to activate 1 key press then spam another button until I release the trigger key.
Is it possible to have the secondary action (hold b key) work like a native key hold, as the timer method below is not working ideal for my application?
$Rbutton::
while GetKeyState("Rbutton", "P")
{
if(GetKeyState("Enter", "P"))
break
sendinput, {a}
RandomSleep(250,300)
While GetKeyState("Rbutton", "P")
{
sendinput , {b}
RandomSleep(250,300)
}
}
return
Gaming script with native key hold
Re: Gaming script with native key hold
You posted in the wrong section, this belongs in "Ask for Help"
There is nothing in this script that holds b - the command sendinput , {b} presses and then releases b.
I think you need to explain your requirements more clearly.
"Native"?Is it possible to have the secondary action (hold b key) work like a native key hold
There is nothing in this script that holds b - the command sendinput , {b} presses and then releases b.
I think you need to explain your requirements more clearly.
Re: Gaming script with native key hold
Why?evilC wrote:You posted in the wrong section, this belongs in "Ask for Help"
Re: Gaming script with native key hold
Because he is asking for help?just me wrote:Why?evilC wrote:You posted in the wrong section, this belongs in "Ask for Help"
Is it possible to have the secondary action (hold b key) work like a native key hold, as the timer method below is not working ideal for my application?
Re: Gaming script with native key hold
Gaming script with native key hold
Re: Gaming script with native key hold
..and it was in "Scripts and Functions -> Gaming", not in the "Ask for Help -> Gaming".just me wrote:Gaming script with native key hold
Clearly just a simple misunderstanding so could maybe just let it fade away with the other inactive questions (until he decides to specify what he actually meant with what he needed help with).
Re: Gaming script with native key hold
Oh, so it was, had me doubting myself there...
Who is online
Users browsing this forum: drwill and 56 guests