Can someone help me create this command

Get help with using AutoHotkey and its commands and hotkeys
humpty

Can someone help me create this command

23 Apr 2017, 16:16

Hello, i want to create a command but i dont know how. so the command is whenever i press space it will press enter too like 0.5 sec delay. if someone can help me please share it to me
User avatar
Almost_there
Posts: 404
Joined: 30 Sep 2014, 10:32

Re: Can someone help me create this command

23 Apr 2017, 18:24

I would use a timer for that, or keywait. What should happens if Space is pressed once more before that time is passed?
coffee
Posts: 113
Joined: 01 Apr 2017, 07:55

Re: Can someone help me create this command

23 Apr 2017, 20:56

humpty wrote:Hello, i want to create a command but i dont know how. so the command is whenever i press space it will press enter too like 0.5 sec delay. if someone can help me please share it to me
Im going to assume that with the "press enter too" you mean both keys, space and enter, have to be sent with enter having an avg delay of 500 ms.

Code: Select all

~Space:: 
	Sleep 500
	SendInput {Enter}
	return

Return to “Ask For Help”

Who is online

Users browsing this forum: anhnha, casperharkin, Chunjee, Google [Bot], littlegandhi1199, sobuj53, Xeo786 and 43 guests