Need help with command Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
Mingi

Need help with command  Topic is solved

21 Feb 2018, 10:51

When I'm working i have to press and hold a button on keybroad in a few seconds. What's the comman to do that action? Can I have an example ? Thank you. :?:
User avatar
RunarSF
Posts: 27
Joined: 01 Jul 2017, 11:48
Location: Norway
Contact:

Re: Need help with command

21 Feb 2018, 22:30

I'm not sure I understand exactly what you mean, the following code will hold down the W key for 128ms.

Code: Select all

SendInput, {W down}
sleep, 128
SendInput, {W up}
There are two kinds of people in the world: those who can extrapolate from incomplete data.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: peter_ahk and 350 guests