simple macro script

Ask gaming related questions (AHK v1.1 and older)
shush12345
Posts: 33
Joined: 26 Jun 2021, 07:29

simple macro script

Post by shush12345 » 23 Oct 2021, 09:11

I want a script where I press F1 and it immediatly enters "1" then enters "2" after with 0 delay. ty

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

Re: simple macro script

Post by Rohwedder » 23 Oct 2021, 09:17

Hallo,
try:

Code: Select all

F1::SendInput, 12

shush12345
Posts: 33
Joined: 26 Jun 2021, 07:29

Re: simple macro script

Post by shush12345 » 23 Oct 2021, 09:24

Rohwedder wrote:
23 Oct 2021, 09:17
Hallo,
try:

Code: Select all

F1::SendInput, 12
sorry if i wasnt clear enough. I want it to type 1 then press enter then type 2 then press enter. I want there to be 0 delay so it is instant. thanks

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

Re: simple macro script

Post by Rohwedder » 23 Oct 2021, 09:40

Then (0 delay is impossible),
perhaps:

Code: Select all

F1::SendInput, 1{Enter}2{Enter}

Post Reply

Return to “Gaming Help (v1)”