Start script using keypress Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
gspinks11
Posts: 6
Joined: 24 Jan 2022, 19:27

Start script using keypress

Post by gspinks11 » 24 Jan 2022, 21:47

How can I make the below script start when i press, say for instance, the F7 key?

Code: Select all

Send {4 down}
Sleep 2000
Send {4 up}
Sleep 300  
Send {v down}
Sleep 4000
Send {w down}
Send {s down}
Send {s up}
[Mod Edit: [code][/code] tags added]

thank you in advance

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

Re: Start script using keypress  Topic is solved

Post by mikeyww » 24 Jan 2022, 22:01

Put F7:: as the first line, and Return as the last line.

gspinks11
Posts: 6
Joined: 24 Jan 2022, 19:27

Re: Start script using keypress

Post by gspinks11 » 25 Jan 2022, 00:28

mikeyww wrote:
24 Jan 2022, 22:01
Put F7:: as the first line, and Return as the last line.
YOUR THE BEST! thank you very much.

Post Reply

Return to “Ask for Help (v1)”