Hi, I'm new with autohotkey: my question could seem banal.
I want to get an ASC code (Send, {ASC code}) when pressing two times a key within 0.3 seconds.
This is quite simple and I found some useful topics here (https://autohotkey.com/board/topic/8912 ... ap-hotkey/).
But I need to do other stuff if I press it singularly. I make an example: if I double press "a" (within 0.3 seconds) I want to get "à" while if I press it singularly I simply want "a".
I tried with "KeyWait" but I couldn't set what happen after ErrorLevel=1.
Thank you!
double press for hotkey
Re: double press for hotkey
Hallo,
try:
try:
Code: Select all
~*a::SetTimer, Reset_HotString, -300
:*?:aa::à
Reset_HotString:
SendLevel 1
Send,{Click up}
Return
Who is online
Users browsing this forum: Anput, DiegoSouto, mikeyww, Rohwedder, Sniperman and 393 guests