Can someone help me create this command Topic is solved

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

Can someone help me create this command  Topic is solved

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: 133
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 (v1)”

Who is online

Users browsing this forum: doodles333, Frogrammer and 265 guests