2 keys with one hotkey.
Posted: 05 Dec 2016, 04:07
What I wanted to do was make a hotkey that had two keys with a very small delay. I did that.
$z::
Send {c down}{x down}
sleep 0.5
Send {c up}{x up}
return
In addition I wanted to add 2 more keys so that when I press z they will hold themselves milliseconds before the action above begins and release at the same time it ends.
$z::
Send {RButton up}{Tab up}
sleep 2
Send {RButton down}{Tab down}
Send {c down}{x down}
sleep 0.5
Send {c up}{x up}
return
...but it failed miserably because I have no idea how to go about it.
I appreciate all the help I can get.
$z::
Send {c down}{x down}
sleep 0.5
Send {c up}{x up}
return
In addition I wanted to add 2 more keys so that when I press z they will hold themselves milliseconds before the action above begins and release at the same time it ends.
$z::
Send {RButton up}{Tab up}
sleep 2
Send {RButton down}{Tab down}
Send {c down}{x down}
sleep 0.5
Send {c up}{x up}
return
...but it failed miserably because I have no idea how to go about it.
I appreciate all the help I can get.