increase the speed for my macro

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
Kiro123
Posts: 3
Joined: 17 Aug 2022, 06:44

increase the speed for my macro

Post by Kiro123 » 17 Aug 2022, 07:00

Hello can you help me to increase the speed of my macro. where there is the F3 key

I would like to increase the speed here:F3:: sendinput :x{enter}x{enter}x

Rohwedder
Posts: 7551
Joined: 04 Jun 2014, 08:33
Location: Germany

Re: increase the speed for my macro

Post by Rohwedder » 17 Aug 2022, 07:09

Hallo,
try:

Code: Select all

F3::
While, GetKeyState("F3","P")
{
	sendinput :x{enter}x{enter}x
	Sleep, 10
}
Return

Kiro123
Posts: 3
Joined: 17 Aug 2022, 06:44

Re: increase the speed for my macro

Post by Kiro123 » 17 Aug 2022, 12:20

Thank you for the answer, yes it goes faster but is there a way to make it go even faster and serve the return?

Rohwedder
Posts: 7551
Joined: 04 Jun 2014, 08:33
Location: Germany

Re: increase the speed for my macro

Post by Rohwedder » 17 Aug 2022, 16:21

Without Sleep it goes faster. What do you mean by "serve the return"?

Kiro123
Posts: 3
Joined: 17 Aug 2022, 06:44

Re: increase the speed for my macro

Post by Kiro123 » 18 Aug 2022, 04:45

what is the point of the return?

Rohwedder
Posts: 7551
Joined: 04 Jun 2014, 08:33
Location: Germany

Re: increase the speed for my macro

Post by Rohwedder » 18 Aug 2022, 05:03

Is the question meant phylosofically or syntactically. In German, Return = Zurück has 2 points.

Post Reply

Return to “Ask for Help (v1)”