Hi I'm trying to get a hotkey so that when it is pressed once it sends one thing, but when I press it again just after the first press, it sends me something else. So, for example, when I press 'd' I get z, but if I press d again (so 'dd') the z is replaced with x.
So I though of something like:
Code:
D::
If bDAlreadyPressed
{
Send {BACKSPACE}
Send x
bDshiftAlreadyPressed :=false
return
}
else
Send z
bDShiftAlreadyPressed :=true
return
This obviously doesn't work since pressing dd will indeed give me x, but pressing dfd, would give me dx. I was thinking about a timer, but that won't really get around the problem either, and hotstrings cannot work either because of some problematic limitations.
Anyone have any guidance?