I want to make a script that holds A button for a while, than changes to D, and return

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
Zlockiy
Posts: 1
Joined: 28 Nov 2021, 13:47

I want to make a script that holds A button for a while, than changes to D, and return

Post by Zlockiy » 28 Nov 2021, 13:52

I want to make a script that holds A button for a while, than changes to D, and return

User avatar
mikeyww
Posts: 26871
Joined: 09 Sep 2014, 18:38

Re: I want to make a script that holds A button for a while, than changes to D, and return

Post by mikeyww » 28 Nov 2021, 15:58

Code: Select all

F3::
Loop, Parse, % "ad"
{ Send {%A_LoopField% down}
  Sleep, 500
  Send {%A_LoopField% up}
}
Return

Post Reply

Return to “Ask for Help (v1)”