Hi I playing diablo 2. Im trying to press one key and have it press several keys. I want to be able to "m" and have it read in the game as "5v5v5v5ve"
Thanks for help
Looking how to make a script to press multiple buttons with single keystroke
Re: Looking how to make a script to press multiple buttons with single keystroke
Hallo,
try:
You could change the keys press speed with SetKeyDelay:
https://autohotkey.com/docs/commands/SetKeyDelay.htm
try:
Code: Select all
m::Send, 5v5v5v5ve
https://autohotkey.com/docs/commands/SetKeyDelay.htm
Re: Looking how to make a script to press multiple buttons with single keystroke
Thanks for help. unfortunately I think the action is too fast for the game to register. Is there a way to set a delay between the actions. Thank you.Rohwedder wrote: ↑12 Apr 2019, 00:53Hallo,
try:You could change the keys press speed with SetKeyDelay:Code: Select all
m::Send, 5v5v5v5ve
https://autohotkey.com/docs/commands/SetKeyDelay.htm
Re: Looking how to make a script to press multiple buttons with single keystroke
Hallo,
hadn't I written something about SetKeyDelay?
Here a very slow output:
hadn't I written something about SetKeyDelay?
Here a very slow output:
Code: Select all
m::
SetKeyDelay, 500, 500
Send, 5v5v5v5ve
Return
Re: Looking how to make a script to press multiple buttons with single keystroke
Hey thank you for your help. but it seems on the first "5" and the "e" are registering in the game. Is there a way to send delays between the subsequent v's and 5's. Thank you.Rohwedder wrote: ↑13 Apr 2019, 01:33Hallo,
hadn't I written something about SetKeyDelay?
Here a very slow output:Code: Select all
m:: SetKeyDelay, 500, 500 Send, 5v5v5v5ve Return
Re: Looking how to make a script to press multiple buttons with single keystroke
Hallo,
SetKeyDelay should work unless of course you are using SendMode input.
Try:
SetKeyDelay should work unless of course you are using SendMode input.
Try:
Code: Select all
m::
Loop, Parse,% "5v5v5v5ve"
{
Send,% A_LoopField
Sleep, 100
}
Who is online
Users browsing this forum: No registered users and 45 guests